mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Update old naming to new matcher name
This commit is contained in:
parent
da9e653a89
commit
7698724241
1 changed files with 1 additions and 1 deletions
|
@ -404,7 +404,7 @@ module Spectator::DSL
|
|||
# expect({"lucky" => 7}).to have_key("lucky")
|
||||
# ```
|
||||
macro have_key(expected)
|
||||
::Spectator::Matchers::HasKeyMatcher.new({{expected.stringify}}, {{expected}})
|
||||
::Spectator::Matchers::HaveKeyMatcher.new({{expected.stringify}}, {{expected}})
|
||||
end
|
||||
|
||||
# ditto
|
||||
|
|
Loading…
Reference in a new issue