Sha256: 3aa86d387d931a5664cf3adbce4d9f1e9abc7f9d6ac2fefd4a51edb09675f7b9

Contents?: true

Size: 138 Bytes

Versions: 14

Compression:

Stored size: 138 Bytes

Contents

RSpec::Matchers.define :be_file do
  match do |actual|
    ret = ssh_exec(commands.check_file(actual))
    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_file.rb
serverspec-0.1.5 lib/serverspec/matchers/be_file.rb
serverspec-0.1.4 lib/serverspec/matchers/be_file.rb
serverspec-0.1.3 lib/serverspec/matchers/be_file.rb
serverspec-0.1.2 lib/serverspec/matchers/be_file.rb
serverspec-0.1.1 lib/serverspec/matchers/be_file.rb
serverspec-0.1.0 lib/serverspec/matchers/be_file.rb
serverspec-0.0.19 lib/serverspec/matchers/be_file.rb
serverspec-0.0.18 lib/serverspec/matchers/be_file.rb
serverspec-0.0.17 lib/serverspec/matchers/be_file.rb
serverspec-0.0.16 lib/serverspec/matchers/be_file.rb
serverspec-0.0.15 lib/serverspec/matchers/be_file.rb
serverspec-0.0.14 lib/serverspec/matchers/be_file.rb
serverspec-0.0.13 lib/serverspec/matchers/be_file.rb