adamwiggins (owner)

Revisions

gist: 170097 Download_button fork
public
Public Clone URL: git://gist.github.com/170097.git
Embed All Files: show embed
spec/base.rb #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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