lib/serverspec/matchers/have_uid.rb in serverspec-0.5.3 vs lib/serverspec/matchers/have_uid.rb in serverspec-0.5.4
- old
+ new
@@ -1,10 +1,10 @@
RSpec::Matchers.define :have_uid do |uid|
match do |user|
if user.respond_to?(:has_uid?)
user.has_uid?(uid)
else
- backend.check_uid(example, user, uid)
+ backend.check_uid(user, uid)
end
end
end