mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Fix expected value snapshot
This commit is contained in:
parent
955311bb95
commit
21e10c1ef2
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ module Spectator::Matchers
|
|||
{% begin %}
|
||||
{
|
||||
{% for attribute in ExpectedType.keys %}
|
||||
{{attribute}}: object.has_{{attribute}}?(*@expected[{{attribute.symbolize}}]),
|
||||
{{attribute}}: object.has_{{attribute}}?(*@expected.value[{{attribute.symbolize}}]),
|
||||
{% end %}
|
||||
}
|
||||
{% end %}
|
||||
|
|
|
@ -47,7 +47,7 @@ module Spectator::Matchers
|
|||
{% begin %}
|
||||
{
|
||||
{% for attribute in ExpectedType.keys %}
|
||||
{{attribute}}: object.{{attribute}}?(*@expected[{{attribute.symbolize}}]),
|
||||
{{attribute}}: object.{{attribute}}?(*@expected.value[{{attribute.symbolize}}]),
|
||||
{% end %}
|
||||
}
|
||||
{% end %}
|
||||
|
|
Loading…
Reference in a new issue