mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Fix tests to account for negation wrappers
This commit is contained in:
parent
37f2ce99a3
commit
0ca0ba0a55
19 changed files with 53 additions and 45 deletions
|
@ -274,9 +274,9 @@ describe Spectator::Matchers::AttributesMatcher do
|
|||
matcher = Spectator::Matchers::AttributesMatcher.new(attributes)
|
||||
match_data = matcher.match(partial)
|
||||
values = match_data.values
|
||||
values[:"expected first"].should eq(attributes[:first])
|
||||
values[:"expected last"].should eq(attributes[:last])
|
||||
values[:"expected size"].should eq(attributes[:size])
|
||||
values[:"expected first"].value.should eq(attributes[:first])
|
||||
values[:"expected last"].value.should eq(attributes[:last])
|
||||
values[:"expected size"].value.should eq(attributes[:size])
|
||||
end
|
||||
|
||||
it "has the actual values" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue