Skip to content

@cocoa /gist:4145214
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
RSpec instead of Test::Unit for new Rails projects
# at command line:
rails new MYAPP -T # The -T option tells rails not to include Test::Unit
# in Gemfile:
gem 'rspec-rails'
# in config/initializers/generator.rb
Rails.application.config.generators do |g|
g.test_framework = :rspec
end
# at command line:
bundle install
rails g rspec:install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.