Sha256: 00414c531b726a3c0fbe64d55b4c45d6620fcb27297dc9e85fc82e77c8b86af9
Contents?: true
Size: 794 Bytes
Versions: 22
Compression:
Stored size: 794 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) @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
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
rubber-2.0.0.pre2 | test/cloud/aws_test.rb |
rubber-2.0.0.pre1 | test/cloud/aws_test.rb |