Sha256: 3bb43ec3b8b03bbf363619fdc56ea49ac8f6d0da8bc83d7b0c2b4607409ebdb3
Contents?: true
Size: 668 Bytes
Versions: 7
Compression:
Stored size: 668 Bytes
Contents
class Test::Spec::Should alias :_test_spec_equal :equal def equal(*args) @object.respond_to?(:should_equal) ? @object.should_equal(*args) : _test_spec_equal(*args) end alias :_test_spec_be :be def be(*args) @object.respond_to?(:should_equal) ? @object.should_equal(*args) : _test_spec_be(*args) end end class Test::Spec::ShouldNot alias :_test_spec_equal :equal def equal(*args) @object.respond_to?(:should_not_equal) ? @object.should_not_equal(*args) : _test_spec_equal(*args) end alias :_test_spec_be :be def be(*args) @object.respond_to?(:should_not_equal) ? @object.should_not_equal(*args) : _test_spec_be(*args) end end
Version data entries
7 entries across 7 versions & 2 rubygems