Sha256: 022fc0350ea29a1d8c5b12e0cd266e67dc4ab79ba161def17edac061df937181

Contents?: true

Size: 105 Bytes

Versions: 56

Compression:

Stored size: 105 Bytes

Contents

RSpec::Matchers.define :have_length do |length|
  match do |actual|
    actual.length == length
  end
end

Version data entries

56 entries across 56 versions & 5 rubygems

Version Path
stellar-base-0.0.15 spec/support/matchers/have_length.rb
stellar-base-0.0.14 spec/support/matchers/have_length.rb
stellar-base-0.0.13 spec/support/matchers/have_length.rb
stellar-base-0.0.12 spec/support/matchers/have_length.rb
stellar-base-0.0.11 spec/support/matchers/have_length.rb
stellar-base-0.0.10 spec/support/matchers/have_length.rb
stellar-base-0.0.9 spec/support/matchers/have_length.rb
stellar-base-0.0.8 spec/support/matchers/have_length.rb
stellar-base-0.0.7 spec/support/matchers/have_length.rb
stellar-base-0.0.6 spec/support/matchers/have_length.rb
stellar-lib-0.0.2 spec/support/matchers/have_length.rb
stellar-base-0.0.5 spec/support/matchers/have_length.rb
stellar-base-0.0.4 spec/support/matchers/have_length.rb
stellar-base-0.0.3 spec/support/matchers/have_length.rb
stellar-base-0.0.2 spec/support/matchers/have_length.rb
stellar-base-0.0.1 spec/support/matchers/have_length.rb