Skip to content

Instantly share code, notes, and snippets.

@masaki
Created August 2, 2009 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save masaki/160099 to your computer and use it in GitHub Desktop.
Save masaki/160099 to your computer and use it in GitHub Desktop.
Spork.each_run do
require 'cucumber/rails/world'
require 'rr'
Cucumber::Rails::World.send(:include, RR::Adapters::RRMethods)
Before do
RR.reset
end
After do
begin
RR.verify
ensure
RR.reset
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment