Update old naming to new matcher name

This commit is contained in:
Michael Miller 2019-02-05 19:30:44 -07:00
parent da9e653a89
commit 7698724241
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ module Spectator::DSL
# expect({"lucky" => 7}).to have_key("lucky") # expect({"lucky" => 7}).to have_key("lucky")
# ``` # ```
macro have_key(expected) macro have_key(expected)
::Spectator::Matchers::HasKeyMatcher.new({{expected.stringify}}, {{expected}}) ::Spectator::Matchers::HaveKeyMatcher.new({{expected.stringify}}, {{expected}})
end end
# ditto # ditto