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

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