spec/ey/logs_spec.rb in engineyard-1.4.29 vs spec/ey/logs_spec.rb in engineyard-1.7.0.pre2

- old
+ new

@@ -2,20 +2,20 @@ describe "ey logs" do given "integration" it "prints logs returned by awsm" do - api_scenario "one app, one environment" - ey %w[logs -e giblets] + login_scenario "one app, one environment" + fast_ey %w[logs -e giblets] @out.should match(/MAIN LOG OUTPUT/) @out.should match(/CUSTOM LOG OUTPUT/) - @err.should be_empty + @err.should == '' end it "complains when it can't infer the environment" do - api_scenario "one app, many environments" - ey %w[logs], :expect_failure => true - @err.should =~ /repository url in this directory is ambiguous/i + login_scenario "one app, many environments" + fast_failing_ey %w[logs] + @err.should =~ /Multiple environments possible, please be more specific/i end end describe "ey logs" do given "integration"