Reputation: 5325
Currently I have a huge integration test in a single file in my Rails 3 app in spec/main_spec.rb, and to run this test I simply do 'rake spec'. I want to begin to break this test up into differnt files. So lets say I create another test (file) called spec/another_spec.rb. How can I run this specific file? When I do...
bundle exec rake spec/another_spec.rb
Nother seems to happen...I don't get any errors, but I don't any feedback telling me whats passed or failed.
Upvotes: 0
Views: 1233
Reputation: 4485
bundle exec rspec spec/another_spec.rb
or
rspec spec/another_spec.rb
Upvotes: 2