Module: Kintama::Mocha::Expect

Defined in:
lib/kintama/mocha.rb

Instance Method Summary collapse

Instance Method Details

#expect(name, &block) ⇒ Object



6
7
8
9
10
11
# File 'lib/kintama/mocha.rb', line 6

def expect(name, &block)
  context do
    setup(&block)
    test("expect " + name) {}
  end
end