Sha256: 9964f29300789a7f518763a04c4d6754fbf4f78e5bf8a9f4770f43b743b196c8
Contents?: true
Size: 655 Bytes
Versions: 1
Compression:
Stored size: 655 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', '..', 'spec_helper') describe PivotalTracker::Activity do context "without a specified project" do it "should return an array of activities" do PivotalTracker::Activity.all.should be_a(Array) PivotalTracker::Activity.all.first.should be_a(PivotalTracker::Activity) end end context "with a specified project" do before do @project = PivotalTracker::Project.find(59022) end it "should return an array of activities" do @project.activities.all.should be_a(Array) @project.activities.all.first.should be_a(PivotalTracker::Activity) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pivotal-tracker-0.0.9.1 | spec/unit/pivotal-tracker/activity_spec.rb |