Sha256: edceea0431995af153e053e1d49bba035d95a513ab2af04163d4330fb69eee63

Contents?: true

Size: 174 Bytes

Versions: 10

Compression:

Stored size: 174 Bytes

Contents

RSpec::Matchers.define :be_directory do
  match do |actual|
    ret = ssh_exec(RSpec.configuration.host, commands.check_directory(actual))
    ret[:exit_code] == 0
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
serverspec-0.0.12 lib/serverspec/matchers/be_directory.rb
serverspec-0.0.11 lib/serverspec/matchers/be_directory.rb
serverspec-0.0.10 lib/serverspec/matchers/be_directory.rb
serverspec-0.0.9 lib/serverspec/matchers/be_directory.rb
serverspec-0.0.8 lib/serverspec/matchers/be_directory.rb
serverspec-0.0.7 lib/serverspec/matchers/be_directory.rb
serverspec-0.0.6 lib/serverspec/matchers/be_directory.rb
serverspec-0.0.5 lib/serverspec/matchers/be_directory.rb
serverspec-0.0.4 lib/serverspec/matchers/be_directory.rb
serverspec-0.0.3 lib/serverspec/matchers/be_directory.rb