Skip to content

Commit

Permalink
Debugging travis with the rspec_generator tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ianwhite committed May 11, 2012
1 parent 1c21787 commit d4708da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/rspec_generator_task.rb
Expand Up @@ -9,7 +9,8 @@
migrate_up
make_resources_controller :author
puts "** Running generated controller specs"
sh "bundle exec rake spec"
sh "rake db:test:prepare"
sh "bundle exec rspec"
ensure
migrate_down
cleanup_resource :author
Expand All @@ -34,9 +35,8 @@
File.open('Gemfile', 'w+') do |file|
file << %Q{gem 'rc_rails', :git => "#{File.expand_path('../../../..', __FILE__)}"}
end
system "bundle install"
system "bundle install--quiet"
system "rails generate rspec:install"
system "rake -T"
end
end
end
Expand Down

0 comments on commit d4708da

Please sign in to comment.