Sha256: d650d09dabadcc5faa30a6b9c7a9d449b53db4dad36df5f0547e27311f90645a

Contents?: true

Size: 230 Bytes

Versions: 43

Compression:

Stored size: 230 Bytes

Contents

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

shared_examples 'a non-existing directory' 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/directory.rb
aruba-0.14.13 spec/support/shared_examples/directory.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/aruba-0.14.12/spec/support/shared_examples/directory.rb
aruba-0.14.12 spec/support/shared_examples/directory.rb
aruba-0.14.11 spec/support/shared_examples/directory.rb
aruba-0.14.10 spec/support/shared_examples/directory.rb
aruba-0.14.9 spec/support/shared_examples/directory.rb
aruba-0.14.8 spec/support/shared_examples/directory.rb
aruba-0.14.7 spec/support/shared_examples/directory.rb
aruba-0.14.6 spec/support/shared_examples/directory.rb
aruba-0.14.5 spec/support/shared_examples/directory.rb
aruba-0.14.4 spec/support/shared_examples/directory.rb
aruba-0.14.3 spec/support/shared_examples/directory.rb
aruba-win-fix-0.14.2 spec/support/shared_examples/directory.rb
aruba-0.14.2 spec/support/shared_examples/directory.rb
aruba-0.14.1 spec/support/shared_examples/directory.rb
aruba-0.14.0 spec/support/shared_examples/directory.rb
aruba-0.13.0 spec/support/shared_examples/directory.rb
aruba-0.12.0 spec/support/shared_examples/directory.rb
aruba-0.11.2 spec/support/shared_examples/directory.rb