Sha256: 063cecf9e0d6161430e3aee122331401837c89e1d1935494fe5e63382ed44317

Contents?: true

Size: 182 Bytes

Versions: 2

Compression:

Stored size: 182 Bytes

Contents

RSpec::Matchers.define :be_linked_to do |target|
  match do |link|
    ret = ssh_exec(RSpec.configuration.host, commands.check_link(link, target))
    ret[:exit_code] == 0
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
serverspec-0.0.13 lib/serverspec/matchers/be_linked_to.rb
serverspec-0.0.12 lib/serverspec/matchers/be_linked_to.rb