Sha256: f337338c36f5d9016487cc4008ae21ac2b16051428bd8175fcc0f9d87eb49208

Contents?: true

Size: 165 Bytes

Versions: 21

Compression:

Stored size: 165 Bytes

Contents

# frozen_string_literal: true

RSpec::Matchers.define :be_executable do
  match do |filename|
    File.stat(File.join(project_path, filename)).executable?
  end
end

Version data entries

21 entries across 21 versions & 3 rubygems

Version Path
suspenders-1.55.1 spec/support/be_executable_matcher.rb
suspenders-1.55.0 spec/support/be_executable_matcher.rb
suspenders-1.54.1 spec/support/be_executable_matcher.rb
suspenders-1.54.0 spec/support/be_executable_matcher.rb
welaika-suspenders-3.0 spec/support/be_executable_matcher.rb
welaika-suspenders-2.36 spec/support/be_executable_matcher.rb
welaika-suspenders-2.35 spec/support/be_executable_matcher.rb
welaika-suspenders-2.34 spec/support/be_executable_matcher.rb
suspenders-1.53.0 spec/support/be_executable_matcher.rb
welaika-suspenders-2.33 spec/support/be_executable_matcher.rb
welaika-suspenders-2.32.2 spec/support/be_executable_matcher.rb
welaika-suspenders-2.32.1 spec/support/be_executable_matcher.rb
welaika-suspenders-2.32.0 spec/support/be_executable_matcher.rb
suspenders-1.52.0 spec/support/be_executable_matcher.rb
suspenders-1.51.0 spec/support/be_executable_matcher.rb
welaika-suspenders-2.31.0 spec/support/be_executable_matcher.rb
welaika-suspenders-2.30.0 spec/support/be_executable_matcher.rb
bulldozer-1.6.3 spec/support/be_executable_matcher.rb
bulldozer-1.6.2 spec/support/be_executable_matcher.rb
bulldozer-1.6.1 spec/support/be_executable_matcher.rb