Skip to content

Instantly share code, notes, and snippets.

@ursm
Forked from masaki/gist:160099
Created November 9, 2009 06:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ursm/229743 to your computer and use it in GitHub Desktop.
Save ursm/229743 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