Sha256: bc41738d4ca08475c3ef686c9086d5d14fa9bd340c05a993ba7dd7118dbba5da
Contents?: true
Size: 250 Bytes
Versions: 2
Compression:
Stored size: 250 Bytes
Contents
shared_examples 'a method that knows how to parse time' do |method, tests| tests.each do |string, expected| it "parses '#{string}' into #{expected} seconds" do expect(subject.public_send(method, string)).to eq(expected) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mercy-1.6.0 | spec/support/shared_examples/time_parser.rb |
mercy-1.5.0 | spec/support/shared_examples/time_parser.rb |