Sha256: 9050e2251ec54c3674d29faf009948e04c77abc2b842e1e595669b60de563c93

Contents?: true

Size: 157 Bytes

Versions: 28

Compression:

Stored size: 157 Bytes

Contents

# frozen_string_literal: true

RSpec::Matchers.define :exist_as_a_file do
  match do |filename|
    File.exist?(File.join(project_path, filename))
  end
end

Version data entries

28 entries across 28 versions & 3 rubygems

Version Path
bulldozer-1.6.0 spec/support/exist_as_a_file_matcher.rb
suspenders-1.50.0 spec/support/exist_as_a_file_matcher.rb
suspenders-1.49.0 spec/support/exist_as_a_file_matcher.rb
welaika-suspenders-2.29.0 spec/support/exist_as_a_file_matcher.rb
suspenders-1.48.0 spec/support/exist_as_a_file_matcher.rb
welaika-suspenders-2.29.0.alpha.3 spec/support/exist_as_a_file_matcher.rb
welaika-suspenders-2.29.0.alpha.2 spec/support/exist_as_a_file_matcher.rb
welaika-suspenders-2.29.0.alpha.1 spec/support/exist_as_a_file_matcher.rb