Sha256: 4b5cb864eab2c8290696c200cf94e65aafc3a6bd2a36dd2b97d39bfedd80f4a4

Contents?: true

Size: 154 Bytes

Versions: 14

Compression:

Stored size: 154 Bytes

Contents

RSpec::Matchers.define :be_owned_by do |owner|
  match do |file|
    ret = ssh_exec(commands.check_owner(file, owner))
    ret[:exit_code] == 0
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
serverspec-0.1.6 lib/serverspec/matchers/be_owned_by.rb
serverspec-0.1.5 lib/serverspec/matchers/be_owned_by.rb
serverspec-0.1.4 lib/serverspec/matchers/be_owned_by.rb
serverspec-0.1.3 lib/serverspec/matchers/be_owned_by.rb
serverspec-0.1.2 lib/serverspec/matchers/be_owned_by.rb
serverspec-0.1.1 lib/serverspec/matchers/be_owned_by.rb
serverspec-0.1.0 lib/serverspec/matchers/be_owned_by.rb
serverspec-0.0.19 lib/serverspec/matchers/be_owned_by.rb
serverspec-0.0.18 lib/serverspec/matchers/be_owned_by.rb
serverspec-0.0.17 lib/serverspec/matchers/be_owned_by.rb
serverspec-0.0.16 lib/serverspec/matchers/be_owned_by.rb
serverspec-0.0.15 lib/serverspec/matchers/be_owned_by.rb
serverspec-0.0.14 lib/serverspec/matchers/be_owned_by.rb
serverspec-0.0.13 lib/serverspec/matchers/be_owned_by.rb