Sha256: 37eea87ff46355c16210a9d0592c6db209ce4de159981a00b6de5f5d9c2fb89c
Contents?: true
Size: 481 Bytes
Versions: 1
Compression:
Stored size: 481 Bytes
Contents
module Bogus module MockingDSL def fake(*args, &block) Bogus.fake_for(*args, &block) end def fake_class(name, opts = {}) Bogus.fake_class(name, opts) end def stub(*args) Bogus.create_stub(*args) end def have_received(*args) Bogus.have_received(*args) end def mock(*args) Bogus.create_mock(*args) end def any_args Bogus::AnyArgs end def anything Bogus::Anything end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bogus-0.0.3.rc.1 | lib/bogus/mocking_dsl.rb |