Sha256: c4e00e084de99e4e6ec74d58da14b591753c5fa306ea66acc109440e8b0c168c

Contents?: true

Size: 156 Bytes

Versions: 13

Compression:

Stored size: 156 Bytes

Contents

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

Version data entries

13 entries across 13 versions & 1 rubygems

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