Sha256: 36a43fca4fe27ee5ec856aa3529ee2c861364f12443634554e2da64624da9307

Contents?: true

Size: 148 Bytes

Versions: 14

Compression:

Stored size: 148 Bytes

Contents

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