Sha256: 5ee4535b1d9ea8ba13213bd5676a34d7a59a8ee5ab0030a75b8924fbc4b516a7

Contents?: true

Size: 173 Bytes

Versions: 22

Compression:

Stored size: 173 Bytes

Contents

RSpec::Matchers.define :be_readable do
  match do |file|
    backend.check_readable(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_readable.rb
serverspec-0.2.25 lib/serverspec/matchers/be_readable.rb
serverspec-0.2.24 lib/serverspec/matchers/be_readable.rb
serverspec-0.2.23 lib/serverspec/matchers/be_readable.rb
serverspec-0.2.22 lib/serverspec/matchers/be_readable.rb
serverspec-0.2.21 lib/serverspec/matchers/be_readable.rb
serverspec-0.2.20 lib/serverspec/matchers/be_readable.rb
serverspec-0.2.19 lib/serverspec/matchers/be_readable.rb
serverspec-0.2.18 lib/serverspec/matchers/be_readable.rb
serverspec-0.2.17 lib/serverspec/matchers/be_readable.rb
serverspec-0.2.16 lib/serverspec/matchers/be_readable.rb
serverspec-0.2.15 lib/serverspec/matchers/be_readable.rb
serverspec-0.2.14 lib/serverspec/matchers/be_readable.rb
serverspec-0.2.13 lib/serverspec/matchers/be_readable.rb
serverspec-0.2.12 lib/serverspec/matchers/be_readable.rb
serverspec-0.2.11 lib/serverspec/matchers/be_readable.rb
serverspec-0.2.10 lib/serverspec/matchers/be_readable.rb
serverspec-0.2.9 lib/serverspec/matchers/be_readable.rb
serverspec-0.2.8 lib/serverspec/matchers/be_readable.rb
serverspec-0.2.7 lib/serverspec/matchers/be_readable.rb