Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (13 sloc) 381 Bytes
# Set up rspec
puts "Setting up RSpec ... ".magenta
remove_dir 'test'
generate 'rspec:install'
generators = <<-RUBY
config.generators do |g|
g.test_framework :rspec, :fixture => true, :views => false
g.integration_tool :rspec, :fixture => true, :views => true
end
RUBY
application generators
git :add => '.'
git :commit => "-am 'Generated rspec install.'"