Created
May 23, 2012 12:15
-
-
Save nauman/2774926 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$:.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