-
Notifications
You must be signed in to change notification settings - Fork 202
Examples
nofxx edited this page Oct 15, 2011
·
15 revisions
Here are some cucumber features that contain an example of how a sporked spec_helper.rb or env.rb ought to look:
These are minimalist, but this is the bare minimum you will need to use spork:
- spec/spec_helper.rb – RSpec
- features/support/env.rb – Cucumber
Please feel free to add your own examples as gists:
For when using…
- Cucumber with Pickle
- Rails 3/Capybara/Mongoid/Fabrication
- Rails 3/ActiveRecord/Fabrication
- Rails 3/Devise/ActiveRecord/Factory Girl
- Rails 2/Devise/ActiveRecord/Factory Girl
- Your gist here
If you need some guidelines for changing your spec_helper.rb, check out Ben Mabey advice in the RSpec mailing list