-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"bundle exec rspec spec" vs rake spectask #4
Comments
This is not an available-by-default Rake task (it seems to be rspec 1.3), but I admit I would prefer one because it's shorter to type. |
In RSpec2, the Rake Task automatically uses bundle exec if the project uses Bundler. http://github.com/rspec/rspec-core/blob/master/lib/rspec/core/rake_task.rb#L139 |
Where in the guide would you introduce this? |
At the point you start with this "To run the rspec command for our bundle ..." when you begin talking about executing the specs. You've already introduced the Rakefile at that point. |
Instead of "bundle exec rspec spec", I think it's more user-friendly to use rspec's built-in rake SpecTask detailed here:
http://rspec.info/documentation/tools/rake.html
The text was updated successfully, but these errors were encountered: