Sha256: 145d9df2cc034c19a785fce00e45f1f37e55b2d0712bf4b3f6076d2ac852123b

Contents?: true

Size: 544 Bytes

Versions: 4

Compression:

Stored size: 544 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 make_duck(*args)
      Bogus.make_duck(*args)
    end

    def any_args
      Bogus::AnyArgs
    end

    def anything
      Bogus::Anything
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bogus-0.1.0 lib/bogus/mocking_dsl.rb
bogus-0.0.4 lib/bogus/mocking_dsl.rb
bogus-0.0.3 lib/bogus/mocking_dsl.rb
bogus-0.0.3.rc.2 lib/bogus/mocking_dsl.rb