Sha256: 95f6a4cb2f60395bfd908da5e42afd596b6e64be15481725352b6fbd635febfc
Contents?: true
Size: 732 Bytes
Versions: 17
Compression:
Stored size: 732 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe RevisionParser do before do @story = Fabricate(:story_with_revisions) @parser = @story.iteration.project.create_revision_parser(:name => "live parser") end it "should calculate sized_on" do @parser.sized_on(@story.revisions).to_s.should == 4.days.ago.to_s end it "should calculate prioritized_on" do @parser.prioritized_on(@story.revisions).to_s.should == 3.days.ago.to_s end it "should calculate started_on" do @parser.started_on(@story.revisions).to_s.should == 2.days.ago.to_s end it "should calculate completed_on" do @parser.completed_on(@story.revisions).to_s.should == 1.days.ago.to_s end end
Version data entries
17 entries across 17 versions & 1 rubygems