-
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/Mongoid/Fabrication/Capybara
- “Rails 3/Mongoid/Machinist”
- Rails 3/ActiveRecord/Fabrication
- “Rails 3/ActiveRecord/Machinist”
- Rails 3/ActiveRecord/Factory Girl
- Rails 2/ActiveRecord/Factory Girl/Devise
- Your gist here
If you need some guidelines for changing your spec_helper.rb, check out Ben Mabey advice in the RSpec mailing list