class MotionSpec::Matcher::Eq

Public Class Methods

new(value) click to toggle source
Calls superclass method
# File lib/motion-spec/matcher/eq.rb, line 4
def initialize(value)
  super(:==, value)
end

Public Instance Methods

fail_message(subject, negated) click to toggle source
# File lib/motion-spec/matcher/eq.rb, line 8
def fail_message(subject, negated)
  FailMessageRenderer.message_for_be_eq(negated, subject, @values.first)
end