Sha256: 2c07cda67e95b66b89d24729f78dce4d8ac51eb62a9b47950e87bfc598ad5832

Contents?: true

Size: 385 Bytes

Versions: 4

Compression:

Stored size: 385 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

describe Hashicorptools::Ec2Utilities, type: :helper do
  let(:including_class) { Class.new { include Hashicorptools::Ec2Utilities } }

  subject { including_class.new }

  describe '#ec2' do
    it 'should return a client' do
      client = subject.ec2
      expect(client).to be_a Aws::EC2::Client
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hashicorptools-2.1.0 spec/ec2_utilities_spec.rb
hashicorptools-2.0.0 spec/ec2_utilities_spec.rb
hashicorptools-1.1.0 spec/ec2_utilities_spec.rb
hashicorptools-1.0.0 spec/ec2_utilities_spec.rb