Sha256: 9b6767494366ecac4cae4b72cf627e399b1718da1cde45562b92d0b5a0e7739a
Contents?: true
Size: 497 Bytes
Versions: 1
Compression:
Stored size: 497 Bytes
Contents
FancySpec describe: Range with: { it: "has the correct amount of elements" with: 'size when: { Range new: 1 to: 10 . to_a size is: 10 (1..10) to_a size is: 10 ("a".."z") to_a size is: 26 } it: "has a working literal syntax" when: { (1..10) is: (Range new: 1 to: 10) } it: "returns a string representation" with: ['inspect, 'to_s] when: { (1..10) inspect is: "(1..10)" (100..1000) tap: @{ inspect is: "(100..1000)" to_s is: "(100..1000)" } } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fancy-0.10.0 | tests/range.fy |