Sha256: 2352da5f47a9f72b8bc56ee5c66df5c03a7bf184ec008c3a712cb790d6585499

Contents?: true

Size: 94 Bytes

Versions: 22

Compression:

Stored size: 94 Bytes

Contents

RSpec::Matchers.define :exist do
  match do |file_path|
    File.exists?(file_path)
  end
end

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
cpb-generators-0.1.4 spec/matchers/exist.rb
cpb-generators-0.1.3 spec/matchers/exist.rb
cpb-generators-0.1.2 spec/matchers/exist.rb
cpb-generators-0.1.1 spec/matchers/exist.rb
cpb-generators-0.1.0 spec/matchers/exist.rb
ammeter-0.2.9 lib/ammeter/rspec/generator/matchers/exist.rb
ammeter-0.2.8 lib/ammeter/rspec/generator/matchers/exist.rb
ammeter-0.2.7 lib/ammeter/rspec/generator/matchers/exist.rb
ammeter-0.2.6 lib/ammeter/rspec/generator/matchers/exist.rb
ammeter-0.2.5 lib/ammeter/rspec/generator/matchers/exist.rb
ammeter-0.2.4 lib/ammeter/rspec/generator/matchers/exist.rb
ammeter-0.2.3 lib/ammeter/rspec/generator/matchers/exist.rb
ammeter-0.2.2 lib/ammeter/rspec/generator/matchers/exist.rb
ammeter-0.2.1 lib/ammeter/rspec/generator/matchers/exist.rb
ammeter-0.2.0 lib/ammeter/rspec/generator/matchers/exist.rb
ammeter-0.1.3 lib/ammeter/rspec/generator/matchers/exist.rb
ammeter-0.1.2 lib/ammeter/rspec/generator/matchers/exist.rb
ammeter-0.1.1 lib/ammeter/rspec/generator/matchers/exist.rb
ammeter-0.1.0 lib/ammeter/rspec/generator/matchers/exist.rb
ammeter-0.0.3 lib/ammeter/rspec/generator/matchers/exist.rb