Sha256: 3d991f9b6cf71394927757597b5667ae7bd4c429a6cfc7aaf99fd4daf9511318
Contents?: true
Size: 609 Bytes
Versions: 28
Compression:
Stored size: 609 Bytes
Contents
require "#{File.dirname(__FILE__)}/../../test_helper" class CloudProviderTest < Test::Unit::TestCase def setup @provider = CloudProviders::CloudProvider.new end def test_cloud_providers_are_included_in_all assert_respond_to CloudProviders, :all assert_respond_to CloudProviders.all, :each assert CloudProviders.all.include?(CloudProviders::Ec2) end def test_responds_to_core_methods %w(describe_instances describe_instance terminate_instance! run_instance ).each do |meth| assert_respond_to @provider, meth end end end
Version data entries
28 entries across 28 versions & 3 rubygems