Sha256: 01ed9fedb10addcead7e9b815bd11ed1c8299cfd711410e1144bf5ff0fc8ee22

Contents?: true

Size: 357 Bytes

Versions: 29

Compression:

Stored size: 357 Bytes

Contents

riml_include 'dsl.riml'

class LengthMatcherSpec
  defm describe
    return 'LengthMatcher'
  end

  defm it_can_check_for_length_of_string
    expect("foo").to_have_length(3)
    expect("foo").to_not_have_length(4)
  end

  defm it_can_check_for_length_of_list
    expect([1, 2, 3]).to_have_length(3)
    expect([1, 2, 3]).to_not_have_length(4)
  end

end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
speckle-0.2.0 spec/matchers/length_matcher_spec.riml
speckle-0.1.31 spec/matchers/length_matcher_spec.riml
speckle-0.1.30 spec/matchers/length_matcher_spec.riml
speckle-0.1.29 spec/matchers/length_matcher_spec.riml
speckle-0.1.28 spec/matchers/length_matcher_spec.riml
speckle-0.1.27 spec/matchers/length_matcher_spec.riml
speckle-0.1.26 spec/matchers/length_matcher_spec.riml
speckle-0.1.25 spec/matchers/length_matcher_spec.riml
speckle-0.1.24 spec/matchers/length_matcher_spec.riml
speckle-0.1.23 spec/matchers/length_matcher_spec.riml
speckle-0.1.22 spec/matchers/length_matcher_spec.riml
speckle-0.1.21 spec/matchers/length_matcher_spec.riml
speckle-0.1.20 spec/matchers/length_matcher_spec.riml
speckle-0.1.19 spec/matchers/length_matcher_spec.riml
speckle-0.1.18 spec/matchers/length_matcher_spec.riml
speckle-0.1.17 spec/matchers/length_matcher_spec.riml
speckle-0.1.16 spec/matchers/length_matcher_spec.riml
speckle-0.1.15 spec/matchers/length_matcher_spec.riml
speckle-0.1.14 spec/matchers/length_matcher_spec.riml
speckle-0.1.13 spec/matchers/length_matcher_spec.riml