Sha256: 69982a738e83b23a44432bc9b30c28999d95aef328ed70d5e2f2012d00b4c3f5

Contents?: true

Size: 143 Bytes

Versions: 5

Compression:

Stored size: 143 Bytes

Contents

require 'rspec/expectations'

RSpec::Matchers.define :be_a_moneta_id do
  match do |actual|
    Integer(actual) && actual.length > 5
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
moneta-api-1.0.4 spec/support/matchers.rb
moneta-api-1.0.3 spec/support/matchers.rb
moneta-api-1.0.2 spec/support/matchers.rb
moneta-api-1.0.1 spec/support/matchers.rb
moneta-api-1.0.0 spec/support/matchers.rb