Sha256: 286681e78c99514cb2aac4e3f8495587d7f82b5cfb60c67b8335500b919530fd
Contents?: true
Size: 803 Bytes
Versions: 1
Compression:
Stored size: 803 Bytes
Contents
require File.expand_path(File.join(__FILE__, '../..', 'test_helper')) require 'rubber/cloud/aws' require 'ostruct' class AwsTest < Test::Unit::TestCase context "aws" do setup do env = {'access_key' => "XXX", 'secret_access_key' => "YYY", 'region' => "us-east-1"} env = Rubber::Configuration::Environment::BoundEnv.new(env, nil, nil, nil) @cloud = Rubber::Cloud::Aws.new(env, nil) end should "instantiate" do assert @cloud.compute_provider assert @cloud.storage_provider end should "provide storage" do assert @cloud.storage('mybucket') end should "provide table store" do assert @cloud.table_store('somekey') end should "create instance" do assert @cloud.create_instance('', '', '', '', '') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubber-2.4.0 | test/cloud/aws_test.rb |