class RSpec::Matchers::BuiltIn::BeComparedTo

Public Instance Methods

expected_action_for_matcher_text() click to toggle source
# File lib/super_diff/rspec/monkey_patches.rb, line 368
def expected_action_for_matcher_text
  if [:==, :===, :=~].include?(@operator)
    "#{@operator}"
  else
    "be #{@operator}"
  end
end