Sha256: 090afc41dc0c6b5f1ea501de574d4f6efb973e53bc1050f840502bff2122d9b5

Contents?: true

Size: 225 Bytes

Versions: 124

Compression:

Stored size: 225 Bytes

Contents

RSpec::Matchers.define :be_executable do
  match do |file|
    file.executable?(@by_whom, @by_user)
  end

  chain :by do |by_whom|
    @by_whom = by_whom
  end

  chain :by_user do |by_user|
    @by_user = by_user
  end
end

Version data entries

124 entries across 124 versions & 4 rubygems

Version Path
serverspec-2.42.3 lib/serverspec/matcher/be_executable.rb
serverspec-2.42.2 lib/serverspec/matcher/be_executable.rb
serverspec-2.42.1 lib/serverspec/matcher/be_executable.rb
serverspec-cem-acpt-2.42.0 lib/serverspec/matcher/be_executable.rb
serverspec-2.42.0 lib/serverspec/matcher/be_executable.rb
serverspec-2.41.8 lib/serverspec/matcher/be_executable.rb
serverspec-2.41.7 lib/serverspec/matcher/be_executable.rb
serverspec-2.41.6 lib/serverspec/matcher/be_executable.rb
serverspec-2.41.5 lib/serverspec/matcher/be_executable.rb
serverspec-2.41.4 lib/serverspec/matcher/be_executable.rb
serverspec-ruby19-2.24.3 lib/serverspec/matcher/be_executable.rb
serverspec-2.41.3 lib/serverspec/matcher/be_executable.rb
serverspec-2.41.2 lib/serverspec/matcher/be_executable.rb
serverspec-2.41.1 lib/serverspec/matcher/be_executable.rb
serverspec-2.41.0 lib/serverspec/matcher/be_executable.rb
serverspec-2.40.0 lib/serverspec/matcher/be_executable.rb
serverspec-2.39.2 lib/serverspec/matcher/be_executable.rb
serverspec-2.39.1 lib/serverspec/matcher/be_executable.rb
serverspec-2.39.0 lib/serverspec/matcher/be_executable.rb
serverspec-2.38.1 lib/serverspec/matcher/be_executable.rb