Sha256: 6be5684ff2817f685606ba97e817921d90fbc09c7e6e2b25fbb3d9fb5ed7e4ca
Contents?: true
Size: 616 Bytes
Versions: 16
Compression:
Stored size: 616 Bytes
Contents
module Spec module Mocks module ArgumentConstraintMatchers # Shortcut for creating an instance of Spec::Mocks::DuckTypeArgConstraint def duck_type(*args) DuckTypeArgConstraint.new(*args) end def any_args AnyArgsConstraint.new end def anything AnyArgConstraint.new(nil) end def boolean BooleanArgConstraint.new(nil) end def hash_including(expected={}) HashIncludingConstraint.new(expected) end def no_args NoArgsConstraint.new end end end end
Version data entries
16 entries across 16 versions & 4 rubygems