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



649
650
651
# File 'lib/super_diff/rspec/monkey_patches.rb', line 649

def expected_action_for_matcher_text
  "match array with"
end

#expected_for_diffObject



645
646
647
# File 'lib/super_diff/rspec/monkey_patches.rb', line 645

def expected_for_diff
  matchers.an_array_matching(expected)
end