Sha256: 5b3b62db78ceccd66c863a367b2a05ad76d2896bf2b83f7d9cff9f67ea1e80a5

Contents?: true

Size: 257 Bytes

Versions: 97

Compression:

Stored size: 257 Bytes

Contents

RSpec::Matchers.define :be_mounted do
  match do |path|
    path.mounted?(@attr, @only_with)
  end
  chain :with do |attr|
    @attr      = attr
    @only_with = false
  end
  chain :only_with do |attr|
    @attr      = attr
    @only_with = true
  end
end

Version data entries

97 entries across 97 versions & 1 rubygems

Version Path
serverspec-1.0.0 lib/serverspec/matchers/be_mounted.rb
serverspec-0.16.0 lib/serverspec/matchers/be_mounted.rb
serverspec-0.15.5 lib/serverspec/matchers/be_mounted.rb
serverspec-0.15.4 lib/serverspec/matchers/be_mounted.rb
serverspec-0.15.3 lib/serverspec/matchers/be_mounted.rb
serverspec-0.15.2 lib/serverspec/matchers/be_mounted.rb
serverspec-0.15.1 lib/serverspec/matchers/be_mounted.rb
serverspec-0.15.0 lib/serverspec/matchers/be_mounted.rb
serverspec-0.14.4 lib/serverspec/matchers/be_mounted.rb
serverspec-0.14.3 lib/serverspec/matchers/be_mounted.rb
serverspec-0.14.2 lib/serverspec/matchers/be_mounted.rb
serverspec-0.14.1 lib/serverspec/matchers/be_mounted.rb
serverspec-0.14.0 lib/serverspec/matchers/be_mounted.rb
serverspec-0.13.7 lib/serverspec/matchers/be_mounted.rb
serverspec-0.13.6 lib/serverspec/matchers/be_mounted.rb
serverspec-0.13.5 lib/serverspec/matchers/be_mounted.rb
serverspec-0.13.4 lib/serverspec/matchers/be_mounted.rb
serverspec-0.13.3 lib/serverspec/matchers/be_mounted.rb
serverspec-0.13.2 lib/serverspec/matchers/be_mounted.rb
serverspec-0.13.1 lib/serverspec/matchers/be_mounted.rb