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
suspenders-1.55.1 spec/support/exist_as_a_file_matcher.rb
suspenders-1.55.0 spec/support/exist_as_a_file_matcher.rb
suspenders-1.54.1 spec/support/exist_as_a_file_matcher.rb
suspenders-1.54.0 spec/support/exist_as_a_file_matcher.rb
welaika-suspenders-3.0 spec/support/exist_as_a_file_matcher.rb
welaika-suspenders-2.36 spec/support/exist_as_a_file_matcher.rb
welaika-suspenders-2.35 spec/support/exist_as_a_file_matcher.rb
welaika-suspenders-2.34 spec/support/exist_as_a_file_matcher.rb
suspenders-1.53.0 spec/support/exist_as_a_file_matcher.rb
welaika-suspenders-2.33 spec/support/exist_as_a_file_matcher.rb
welaika-suspenders-2.32.2 spec/support/exist_as_a_file_matcher.rb
welaika-suspenders-2.32.1 spec/support/exist_as_a_file_matcher.rb
welaika-suspenders-2.32.0 spec/support/exist_as_a_file_matcher.rb
suspenders-1.52.0 spec/support/exist_as_a_file_matcher.rb
suspenders-1.51.0 spec/support/exist_as_a_file_matcher.rb
welaika-suspenders-2.31.0 spec/support/exist_as_a_file_matcher.rb
welaika-suspenders-2.30.0 spec/support/exist_as_a_file_matcher.rb
bulldozer-1.6.3 spec/support/exist_as_a_file_matcher.rb
bulldozer-1.6.2 spec/support/exist_as_a_file_matcher.rb
bulldozer-1.6.1 spec/support/exist_as_a_file_matcher.rb