lib/serverspec/matchers/be_owned_by.rb in serverspec-0.0.12 vs lib/serverspec/matchers/be_owned_by.rb in serverspec-0.0.13

- old
+ new

@@ -1,6 +1,6 @@ RSpec::Matchers.define :be_owned_by do |owner| match do |file| - ret = ssh_exec(RSpec.configuration.host, commands.check_owner(file, owner)) + ret = ssh_exec(commands.check_owner(file, owner)) ret[:exit_code] == 0 end end