Sha256: ff73d9464491297f9e9be9892c1c90ab395783ea98f346c831acc3d007da30e1

Contents?: true

Size: 249 Bytes

Versions: 8

Compression:

Stored size: 249 Bytes

Contents

Spec::Matchers.define :exist do |path|
  match do
    File.exist?(path)
  end
  failure_message_for_should { "Expected #{path} to exist but no file found" }
  failure_message_for_should_not { "Expected #{path} to not exist but file was found" }
end

Version data entries

8 entries across 8 versions & 4 rubygems

Version Path
nifty-generators-0.4.1 features/support/matchers.rb
niftier-generators-0.1.2 features/support/matchers.rb
simply_stored_scaffold-0.1.0 features/support/matchers.rb
niftier-generators-0.1.1 features/support/matchers.rb
niftier-generators-0.1.0 features/support/matchers.rb
corntrace-nifty-generators-0.4.1 features/support/matchers.rb
corntrace-nifty-generators-0.4.0 features/support/matchers.rb
nifty-generators-0.4.0 features/support/matchers.rb