Class: RSpec::Matchers::BuiltIn::MatchArray

Inherits:
ContainExactly show all
Defined in:
lib/super_diff/rspec/monkey_patches.rb

Instance Method Summary collapse

Methods included from SuperDiff::RSpec::AugmentedMatcher

#description, #diffable?, #failure_message, #failure_message_when_negated

Instance Method Details

#expected_action_for_matcher_textObject



641
642
643
# File 'lib/super_diff/rspec/monkey_patches.rb', line 641

def expected_action_for_matcher_text
  "match array with"
end

#expected_for_diffObject



637
638
639
# File 'lib/super_diff/rspec/monkey_patches.rb', line 637

def expected_for_diff
  matchers.an_array_matching(expected)
end