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.22.0 spec/support/matchers/have_length.rb
stellar-base-0.21.0 spec/support/matchers/have_length.rb
stellar-base-0.20.0 spec/support/matchers/have_length.rb
stellar-base-0.19.0 spec/support/matchers/have_length.rb
stellar-base-0.18.0 spec/support/matchers/have_length.rb
stellar-base-0.17.0 spec/support/matchers/have_length.rb
stellar-base-0.16.0 spec/support/matchers/have_length.rb
stellar-base-0.15.0 spec/support/matchers/have_length.rb
stellar-base-0.14.0 spec/support/matchers/have_length.rb
stellar-sdk-0.3.0 spec/support/matchers/have_length.rb
stellar-base-0.13.0 spec/support/matchers/have_length.rb
stellar-base-0.12.0 spec/support/matchers/have_length.rb
stellar-sdk-0.2.0 spec/support/matchers/have_length.rb
stellar-sdk-0.1.1 spec/support/matchers/have_length.rb
stellar-sdk-0.1.0 spec/support/matchers/have_length.rb
stellar-base-0.11.0 spec/support/matchers/have_length.rb
auction-ruby-base-0.1.3 spec/support/matchers/have_length.rb
auction-ruby-base-0.1.2 spec/support/matchers/have_length.rb
auction-ruby-base-0.1.1 spec/support/matchers/have_length.rb
stellar-base-0.10.0 spec/support/matchers/have_length.rb