test/project_test.rb in tracker_api-1.9.0 vs test/project_test.rb in tracker_api-1.9.1
- old
+ new
@@ -207,6 +207,18 @@
search_container.stories.must_be_instance_of TrackerApi::Resources::StoriesSearchResult
search_container.stories.stories.first[:id].must_equal 143444685
end
end
end
+
+ describe '.releases' do
+ it 'gets all of the releases for the project' do
+ VCR.use_cassette('get releases', record: :new_episodes) do
+ releases = project.releases
+
+ releases.wont_be_empty
+ releases.size.must_equal 3
+ releases.first.must_be_instance_of TrackerApi::Resources::Release
+ end
+ end
+ end
end