Sha256: 4d5d0afe5bfe83dd763af018ad34aa22678beb58f404ba86e03eaa3c5075fbf5

Contents?: true

Size: 430 Bytes

Versions: 3

Compression:

Stored size: 430 Bytes

Contents

require "spec_helper"

# to run specs with what"s remembered from vcr
#   $ rake
#
# to run specs with new fresh data from aws api calls
#   $ rake clean:vcr ; time rake
describe AwsEc2::CLI do
  before(:all) do
    @args = "--from Tung"
  end

  describe "aws-ec2" do
    it "should hello world" do
      out = execute("exe/aws-ec2 hello world #{@args}")
      expect(out).to include("from: Tung\nHello world")
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aws-ec2-0.3.0 spec/lib/cli_spec.rb
aws-ec2-0.2.0 spec/lib/cli_spec.rb
aws-ec2-0.1.0 spec/lib/cli_spec.rb