Sha256: 3405f81e984f0025ea7517bb8936b850561175ab47280710ab68e4206e1dc867

Contents?: true

Size: 173 Bytes

Versions: 22

Compression:

Stored size: 173 Bytes

Contents

RSpec::Matchers.define :be_writable do
  match do |file|
    backend.check_writable(example, file, @by_whom)
  end
  chain :by do |by_whom|
    @by_whom = by_whom
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
serverspec-0.2.26 lib/serverspec/matchers/be_writable.rb
serverspec-0.2.25 lib/serverspec/matchers/be_writable.rb
serverspec-0.2.24 lib/serverspec/matchers/be_writable.rb
serverspec-0.2.23 lib/serverspec/matchers/be_writable.rb
serverspec-0.2.22 lib/serverspec/matchers/be_writable.rb
serverspec-0.2.21 lib/serverspec/matchers/be_writable.rb
serverspec-0.2.20 lib/serverspec/matchers/be_writable.rb
serverspec-0.2.19 lib/serverspec/matchers/be_writable.rb
serverspec-0.2.18 lib/serverspec/matchers/be_writable.rb
serverspec-0.2.17 lib/serverspec/matchers/be_writable.rb
serverspec-0.2.16 lib/serverspec/matchers/be_writable.rb
serverspec-0.2.15 lib/serverspec/matchers/be_writable.rb
serverspec-0.2.14 lib/serverspec/matchers/be_writable.rb
serverspec-0.2.13 lib/serverspec/matchers/be_writable.rb
serverspec-0.2.12 lib/serverspec/matchers/be_writable.rb
serverspec-0.2.11 lib/serverspec/matchers/be_writable.rb
serverspec-0.2.10 lib/serverspec/matchers/be_writable.rb
serverspec-0.2.9 lib/serverspec/matchers/be_writable.rb
serverspec-0.2.8 lib/serverspec/matchers/be_writable.rb
serverspec-0.2.7 lib/serverspec/matchers/be_writable.rb