Sha256: 408c0de839705f92e8b3fc48a5fddbb790fb100c9f541eb22d0a642381254c6e

Contents?: true

Size: 422 Bytes

Versions: 9

Compression:

Stored size: 422 Bytes

Contents

require 'spec_helper'

describe Beso::Connection::AWS do

  context 'without an access key' do
    it 'should raise an error' do
      expect { Beso::AWS.new :secret_key => 'foo' }.to raise_error Beso::MissingAccessKeyError
    end
  end

  context 'without a secret key' do
    it 'should raise an error' do
      expect { Beso::AWS.new :access_key => 'foo' }.to raise_error Beso::MissingSecretKeyError
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
beso-0.3.5 spec/beso/aws_spec.rb
beso-0.3.4 spec/beso/aws_spec.rb
beso-0.3.3 spec/beso/aws_spec.rb
beso-0.3.2 spec/beso/aws_spec.rb
beso-0.3.1 spec/beso/aws_spec.rb
beso-0.3.0 spec/beso/aws_spec.rb
beso-0.2.1 spec/beso/aws_spec.rb
beso-0.2.0 spec/beso/aws_spec.rb
beso-0.1.0 spec/beso/aws_spec.rb