lib/serverspec/matchers/have_entry.rb in serverspec-0.5.8 vs lib/serverspec/matchers/have_entry.rb in serverspec-0.6.0
- old
+ new
@@ -2,11 +2,9 @@
match do |subject|
if subject.class.name == 'Serverspec::Type::Cron'
subject.has_entry?(@user, entry)
elsif subject.respond_to?(:has_entry?)
subject.has_entry?(entry)
- else
- backend.check_routing_table(entry)
end
end
# For cron type
chain :with_user do |user|
@user = user