Sha256: 864d04494f1674eedec1d940b5f308f4df1af56c62e38e01bd000643eb31726c

Contents?: true

Size: 117 Bytes

Versions: 5

Compression:

Stored size: 117 Bytes

Contents

# coding: utf-8

RSpec::Matchers.define :written do
  match do |file|
    file.exist? && !file.size.zero?
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
retter-0.2.2 spec/support/matchers.rb
retter-0.2.1 spec/support/matchers.rb
retter-0.2.0 spec/support/matchers.rb
retter-0.1.3 spec/support/matchers.rb
retter-0.1.2 spec/support/matchers.rb