Created
August 19, 2009 01:41
-
-
Save adamwiggins/170097 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'bacon' | |
require 'mocha/standalone' | |
require 'mocha/object' | |
class Bacon::Context | |
include Mocha::Standalone | |
def initialize(name, &block) | |
@name = name | |
@before, @after = [ | |
[lambda { mocha_setup }], | |
[lambda { mocha_verify ; mocha_teardown }] | |
] | |
@block = block | |
end | |
def xit(desc, &bk) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment