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.7.2 | spec/support/shared_examples/directory.rb |
aruba-0.7.1 | spec/support/shared_examples/directory.rb |
aruba-0.7.0 | spec/support/shared_examples/directory.rb |