spec/lib/cli_spec.rb in jack-eb-0.2.0 vs spec/lib/cli_spec.rb in jack-eb-0.3.0

- old
+ new

@@ -1,22 +1,21 @@ require 'spec_helper' describe Jack::CLI do before(:all) do - @args = "stag-rails-app-s9 --root spec/fixtures/project --noop --force" + @args = "hi-web-stag-1 --root spec/fixtures/project --noop --force" FileUtils.rm_rf("spec/fixtures/project/.elasticbeanstalk") end describe "jack" do it "should create environment" do out = execute("bin/jack create #{@args}") # puts out expect(out).to include('eb create') - expect(out).to include('--cname stag-rails-app-s9') + expect(out).to include('--cname hi-web-stag-1') expect(out).to include('--keyname "default"') - expect(out).to include('--cfg stag-rails-app') - expect(out).to include('stag-rails-app-s9') + expect(out).to include('hi-web-stag-1') end it "should upload and apply config to environment" do out = execute("bin/jack config upload #{@args}") # puts out @@ -39,6 +38,6 @@ out = execute("bin/jack config sort #{@args}") # puts out expect(out).to include("Reformatted the local config") end end -end \ No newline at end of file +end