Skip to content

Commit

Permalink
spec to query cloud_volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
AparnaKarve committed Mar 15, 2017
1 parent 1e6f2c9 commit f84e814
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/requests/api/collections_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ def test_collection_bulk_query(collection, collection_url, klass, id = nil)
test_collection_query(:clusters, clusters_url, EmsCluster)
end

it "query CloudVolumes" do
FactoryGirl.create(:cloud_volume)
test_collection_query(:cloud_volumes, cloud_volumes_url, CloudVolume)
end

it "query Conditions" do
FactoryGirl.create(:condition)
test_collection_query(:conditions, conditions_url, Condition)
Expand Down

0 comments on commit f84e814

Please sign in to comment.