-
Notifications
You must be signed in to change notification settings - Fork 202
Examples
ideasasylum edited this page Aug 25, 2012
·
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/Fabrication/Guard
- “Rails 3/ActiveRecord/Machinist”
- Rails 3/ActiveRecord/Factory Girl
- Rails 3/ActiveRecord/Factory Girl/Devise
- Your gist here
Figured out how to get that lib playing nice with spork? Gist it!
If you need some guidelines for changing your spec_helper.rb, check out Ben Mabey advice in the RSpec mailing list