Sha256: 07b58a896059764f637c888fa01204facafe1c8104d2424f2c3f807ed027f7ec

Contents?: true

Size: 760 Bytes

Versions: 6

Compression:

Stored size: 760 Bytes

Contents

require 'forwardable'

module Shoulda
  module Matchers
    # @private
    module Doublespeak
      class << self
        extend Forwardable

        def_delegators :world, :double_collection_for,
          :with_doubles_activated

        def world
          @_world ||= World.new
        end
      end
    end
  end
end

require 'shoulda/matchers/doublespeak/double'
require 'shoulda/matchers/doublespeak/double_collection'
require 'shoulda/matchers/doublespeak/double_implementation_registry'
require 'shoulda/matchers/doublespeak/object_double'
require 'shoulda/matchers/doublespeak/proxy_implementation'
require 'shoulda/matchers/doublespeak/structs'
require 'shoulda/matchers/doublespeak/stub_implementation'
require 'shoulda/matchers/doublespeak/world'

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak.rb
shoulda-matchers-2.8.0 lib/shoulda/matchers/doublespeak.rb
shoulda-matchers-2.8.0.rc2 lib/shoulda/matchers/doublespeak.rb
shoulda-matchers-2.8.0.rc1 lib/shoulda/matchers/doublespeak.rb
shoulda-matchers-2.7.0 lib/shoulda/matchers/doublespeak.rb
shoulda-matchers-2.6.2 lib/shoulda/matchers/doublespeak.rb