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.9.0 spec/support/matchers/have_length.rb
stellar-base-0.8.0 spec/support/matchers/have_length.rb
stellar-base-0.7.0 spec/support/matchers/have_length.rb
stellar-base-0.6.1 spec/support/matchers/have_length.rb
stellar-base-0.6.0 spec/support/matchers/have_length.rb
stellar-base-0.5.0 spec/support/matchers/have_length.rb
stellar-base-0.4.0 spec/support/matchers/have_length.rb
open-core-0.3.0 spec/support/matchers/have_length.rb
stellar-base-0.3.0 spec/support/matchers/have_length.rb
stellar-base-0.2.0 spec/support/matchers/have_length.rb
stellar-base-0.1.4 spec/support/matchers/have_length.rb
stellar-base-0.1.3 spec/support/matchers/have_length.rb
stellar-base-0.1.2 spec/support/matchers/have_length.rb
stellar-base-0.1.1 spec/support/matchers/have_length.rb
stellar-base-0.1.0 spec/support/matchers/have_length.rb
stellar-base-0.0.20 spec/support/matchers/have_length.rb
stellar-base-0.0.19 spec/support/matchers/have_length.rb
stellar-base-0.0.18 spec/support/matchers/have_length.rb
stellar-base-0.0.17 spec/support/matchers/have_length.rb
stellar-base-0.0.16 spec/support/matchers/have_length.rb