Sha256: 02f49716f16afa2e17b91c611121d0ef816cccd223fc5bab43507e43c3569a90

Contents?: true

Size: 215 Bytes

Versions: 43

Compression:

Stored size: 215 Bytes

Contents

shared_examples 'an existing file' do
  it { Array(path).each { |p| expect(File).to be_file(p) } }
end

shared_examples 'a non-existing file' do
  it { Array(path).each { |p| expect(File).not_to be_exist(p) } }
end

Version data entries

43 entries across 43 versions & 3 rubygems

Version Path
aruba-0.14.14 spec/support/shared_examples/file.rb
aruba-0.14.13 spec/support/shared_examples/file.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/aruba-0.14.12/spec/support/shared_examples/file.rb
aruba-0.14.12 spec/support/shared_examples/file.rb
aruba-0.14.11 spec/support/shared_examples/file.rb
aruba-0.14.10 spec/support/shared_examples/file.rb
aruba-0.14.9 spec/support/shared_examples/file.rb
aruba-0.14.8 spec/support/shared_examples/file.rb
aruba-0.14.7 spec/support/shared_examples/file.rb
aruba-0.14.6 spec/support/shared_examples/file.rb
aruba-0.14.5 spec/support/shared_examples/file.rb
aruba-0.14.4 spec/support/shared_examples/file.rb
aruba-0.14.3 spec/support/shared_examples/file.rb
aruba-win-fix-0.14.2 spec/support/shared_examples/file.rb
aruba-0.14.2 spec/support/shared_examples/file.rb
aruba-0.14.1 spec/support/shared_examples/file.rb
aruba-0.14.0 spec/support/shared_examples/file.rb
aruba-0.13.0 spec/support/shared_examples/file.rb
aruba-0.12.0 spec/support/shared_examples/file.rb
aruba-0.11.2 spec/support/shared_examples/file.rb