Class: SuperDiff::RSpec::Differs::CollectionContainingExactly
- Inherits:
-
Differs::Array
- Object
- Differs::Base
- Differs::Array
- SuperDiff::RSpec::Differs::CollectionContainingExactly
- Defined in:
- lib/super_diff/rspec/differs/collection_containing_exactly.rb
Class Method Summary collapse
Methods inherited from Differs::Base
Class Method Details
.applies_to?(expected, actual) ⇒ Boolean
5 6 7 8 9 |
# File 'lib/super_diff/rspec/differs/collection_containing_exactly.rb', line 5 def self.applies_to?(expected, actual) SuperDiff::RSpec.a_collection_containing_exactly_something?( expected ) && actual.is_a?(::Array) end |