Sha256: 764625a69a82eb26016b5a2457868e98d7ba342306cbc3fcb7c69c041abde29c
Contents?: true
Size: 731 Bytes
Versions: 3
Compression:
Stored size: 731 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', '..', 'spec_helper') describe PivotalTracker::Iteration do before do @project = PivotalTracker::Project.find(PROJECT_ID) end describe ".all" do before do @iterations = PivotalTracker::Iteration.all(@project) end it "should return an array of Iterations for the given Project" do @iterations.should be_a(Array) @iterations.first.should be_a(PivotalTracker::Iteration) end end describe ".current" do before do @iteration = PivotalTracker::Iteration.current(@project) end it "should return an array of Iterations for the given Project" do @iteration.should be_a(PivotalTracker::Iteration) end end end
Version data entries
3 entries across 3 versions & 1 rubygems