Skip to content

Instantly share code, notes, and snippets.

@tooky
Created July 5, 2013 10:56
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 tooky/5933773 to your computer and use it in GitHub Desktop.
Save tooky/5933773 to your computer and use it in GitHub Desktop.
require 'minitest'
module Cucumber
module MiniTestAssertions
def self.extended(base)
base.extend(MiniTest::Assertions)
base.assertions = 0
end
attr_accessor :assertions
end
end
World(Cucumber::MiniTestAssertions)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment