Sha256: 872f63874b6ddcc45342c945d2c34ab2ef841a5d50f0fc80189d6caafc273112
Contents?: true
Size: 499 Bytes
Versions: 12
Compression:
Stored size: 499 Bytes
Contents
require 'spec_helper' describe PivotalTracker::Task do before do @project = PivotalTracker::Project.find(102622) @story = @project.stories.find(4459994) end context ".all" do it "should return an array of tasks" do @story.tasks.all.should be_a(Array) @story.tasks.all.first.should be_a(PivotalTracker::Task) end end context ".find" do it "should return a given task" do @story.tasks.find(468113).should be_a(PivotalTracker::Task) end end end
Version data entries
12 entries across 12 versions & 3 rubygems