Sha256: d18b036cfb8a4b1cac2c1a5c46a6ca4a4a401a7cb4a88870048481fe77d0cc70

Contents?: true

Size: 792 Bytes

Versions: 1

Compression:

Stored size: 792 Bytes

Contents

require 'spec_helper'

describe Heirloom do
  before do
    @config = { 'access_key'              => 'key',
                'secret_key'              => 'secret',
                'regions'                 => ['us-west-1', 'us-west-2'],
                'bucket_prefix'           => 'prefix',
                'authorized_aws_accounts' => [ 'test1 @acct.com', 'test2@acct.com'] }
    @logger = 'logger'
  end

  it "should create a new artifact object" do
    Heirloom::Config.should_receive(:new).with(:config => @config)
    Heirloom::HeirloomLogger.should_receive(:new).with(:logger => 'logger')
    artifact = Heirloom::Artifact.new :config => @config,
                                      :logger => 'logger'
  end

  it "should build the artifact" 
  it "should update the artifact"

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
heirloom-0.1.2 spec/artifact_spec.rb