Sha256: 30182fe529da8a255ae2ae1cbb82f2d8149808217521b3fa81d0b367dd65b63b
Contents?: true
Size: 492 Bytes
Versions: 4
Compression:
Stored size: 492 Bytes
Contents
require 'spec_helper' require 'redpomo/entry' describe Redpomo::Entry do describe "#csv_rows" do it "parses Pomodoro's classic invalid CSV format" do text = File.read(fixture("timelog.csv")) rows = Redpomo::Entry.csv_rows(text) rows.should have(2).rows end it "parses my Pomodoro fork proper CSV format" do text = File.read(fixture("proper_timelog.csv")) rows = Redpomo::Entry.csv_rows(text) rows.should have(4).rows end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
redpomo-0.0.13 | spec/lib/redpomo/entry_spec.rb |
redpomo-0.0.12 | spec/lib/redpomo/entry_spec.rb |
redpomo-0.0.11 | spec/lib/redpomo/entry_spec.rb |
redpomo-0.0.10 | spec/lib/redpomo/entry_spec.rb |