Sha256: e0924acd3f1f1f7307107bf2faf59546720ac53b9cdafd95d3eb0ee83aa4234e

Contents?: true

Size: 144 Bytes

Versions: 14

Compression:

Stored size: 144 Bytes

Contents

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