Skip to content

Instantly share code, notes, and snippets.

@nauman
Created May 23, 2012 12:15
Show Gist options
  • Save nauman/2774926 to your computer and use it in GitHub Desktop.
Save nauman/2774926 to your computer and use it in GitHub Desktop.
$:.unshift File.join(File.dirname(__FILE__), '..', '..', '..')
require 'tests/drivers/fgcp/common'
require 'rubygems'
describe 'Deltacloud API' do
include Deltacloud::Test
it 'must returns valid drivers' do
get collection_url(:drivers)
last_response.status.must_equal 200
end
it 'should return images' do
auth_as_mock
get collection_url(:images)
last_response.status.must_equal 200
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment