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.11.1 spec/support/shared_examples/file.rb
aruba-0.11.0.pre4 spec/support/shared_examples/file.rb
aruba-0.11.0.pre3 spec/support/shared_examples/file.rb
aruba-0.11.0.pre2 spec/support/shared_examples/file.rb
aruba-0.11.0.pre spec/support/shared_examples/file.rb
aruba-0.10.2 spec/support/shared_examples/file.rb
aruba-0.10.1 spec/support/shared_examples/file.rb
aruba-0.10.0 spec/support/shared_examples/file.rb
aruba-0.10.0.pre2 spec/support/shared_examples/file.rb
aruba-0.10.0.pre spec/support/shared_examples/file.rb
aruba-0.9.0 spec/support/shared_examples/file.rb
aruba-0.9.0.pre2 spec/support/shared_examples/file.rb
aruba-0.9.0.pre spec/support/shared_examples/file.rb
aruba-0.8.1 spec/support/shared_examples/file.rb
aruba-0.8.0 spec/support/shared_examples/file.rb
aruba-0.8.0.pre3 spec/support/shared_examples/file.rb
aruba-0.8.0.pre2 spec/support/shared_examples/file.rb
aruba-0.8.0.pre spec/support/shared_examples/file.rb
aruba-0.7.4 spec/support/shared_examples/file.rb
aruba-0.7.3 spec/support/shared_examples/file.rb