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

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