class RSpec::Matchers::BuiltIn::Has

Public Instance Methods

actual_for_matcher_text() click to toggle source
# File lib/super_diff/rspec/monkey_patches.rb, line 570
def actual_for_matcher_text
  actual
end
expected_action_for_matcher_text() click to toggle source
# File lib/super_diff/rspec/monkey_patches.rb, line 582
def expected_action_for_matcher_text
  "return true for"
end
expected_for_matcher_text() click to toggle source
# File lib/super_diff/rspec/monkey_patches.rb, line 574
def expected_for_matcher_text
  if SuperDiff::RSpec.rspec_version < "3.10"
    "#{predicate}#{failure_message_args_description}"
  else
    "#{predicate}#{args_to_s}"
  end
end
matcher_text_builder_args() click to toggle source
Calls superclass method
# File lib/super_diff/rspec/monkey_patches.rb, line 590
def matcher_text_builder_args
  super.merge(
    predicate_accessible: predicate_accessible?,
    private_predicate: private_predicate?
  )
end
matcher_text_builder_class() click to toggle source
# File lib/super_diff/rspec/monkey_patches.rb, line 586
def matcher_text_builder_class
  SuperDiff::RSpec::MatcherTextBuilders::HavePredicate
end