Sha256: 00c1f60d3a351607dd7baff9729c4da30b74c3fbde067f241142d5bb946f2937
Contents?: true
Size: 714 Bytes
Versions: 23
Compression:
Stored size: 714 Bytes
Contents
require "test_helper" describe CloudstackClient::Client do before do @client = CloudstackClient::Client.new( "https://cloudstack.api/client/api", "test-key", "test-secret" ) end describe "when the client is instantiated" do it "must respond_to 'list_virtual_machines'" do @client.respond_to?(:list_virtual_machines).must_equal true end it "must respond_to 'deploy_virtual_machine'" do @client.respond_to?(:deploy_virtual_machine).must_equal true end it "must respond_to 'create_user'" do @client.respond_to?(:create_user).must_equal true end it "must not be in debug mode" do @client.debug.must_equal false end end end
Version data entries
23 entries across 23 versions & 1 rubygems