Sha256: 54efd7154ac123dca8372839180e3ddaf374cc6ddba8857c3e40dcdd133980a2
Contents?: true
Size: 660 Bytes
Versions: 7
Compression:
Stored size: 660 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(PROJECT_ID) 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
7 entries across 7 versions & 1 rubygems