lib/serverspec/matchers/have_authorized_key.rb in serverspec-0.5.3 vs lib/serverspec/matchers/have_authorized_key.rb in serverspec-0.5.4

- old
+ new

@@ -1,9 +1,9 @@ RSpec::Matchers.define :have_authorized_key do |key| match do |user| if user.respond_to?(:has_authorized_key?) user.has_authorized_key?(key) else - backend.check_authorized_key(example, user, key) + backend.check_authorized_key(user, key) end end end