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

- old
+ new

@@ -1,10 +1,10 @@ RSpec::Matchers.define :be_mounted do match do |path| if path.respond_to?(:mounted?) path.mounted?(@attr, @only_with) else - backend.check_mounted(example, path, @attr, @only_with) + backend.check_mounted(path, @attr, @only_with) end end chain :with do |attr| @attr = attr @only_with = false