mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Update specs to handle new match data values
This commit is contained in:
parent
3dd39f17f5
commit
d705ef657c
24 changed files with 112 additions and 110 deletions
|
@ -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].value.should eq(expected)
|
||||
match_data_value_sans_prefix(match_data, :expected)[:value].should eq(expected)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -86,7 +86,7 @@ describe Spectator::Matchers::EqualityMatcher do
|
|||
partial = new_partial(actual)
|
||||
matcher = Spectator::Matchers::EqualityMatcher.new(expected)
|
||||
match_data = matcher.match(partial)
|
||||
match_data.values[:actual].should eq(actual)
|
||||
match_data_value_sans_prefix(match_data, :actual)[:value].should eq(actual)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue