Sha256: 61fc8856abe01185a6885e404775f708fa4d8a0f08b5759f6d369428ce006137

Contents?: true

Size: 793 Bytes

Versions: 1

Compression:

Stored size: 793 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.3 spec/artifact_spec.rb