Method: OSpec::NegativeOperatorMatcher#==

Defined in:
lib/ospec/matchers.rb

#==(expected) ⇒ Object



23
24
25
26
27
# File 'lib/ospec/matchers.rb', line 23

def == expected
  if @actual == expected
    failure "expected: #{expected.inspect} not to be #{@actual.inspect} (using ==)."
  end
end