Sha256: 2cc36680f4c238549b20b64db50acfdf838fbfd8da8ac415f3736529e6f50e1d

Contents?: true

Size: 177 Bytes

Versions: 22

Compression:

Stored size: 177 Bytes

Contents

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