Fix tests to account for negation wrappers

This commit is contained in:
Michael Miller 2019-03-07 16:12:23 -07:00
parent 37f2ce99a3
commit 0ca0ba0a55
19 changed files with 53 additions and 45 deletions

View file

@ -76,7 +76,7 @@ describe Spectator::Matchers::EqualityMatcher do
partial = new_partial(actual)
matcher = Spectator::Matchers::EqualityMatcher.new(expected)
match_data = matcher.match(partial)
match_data.values[:expected].should eq(expected)
match_data.values[:expected].value.should eq(expected)
end
end