spec/ey/whoami_spec.rb in engineyard-1.4.20 vs spec/ey/whoami_spec.rb in engineyard-1.4.21

- old
+ new

@@ -2,25 +2,17 @@ describe "ey whoami" do context "logged in" do given "integration" - before(:all) do - api_scenario "empty" - end - it "outputs the currently logged in user" do ey %w[whoami] @out.should include("User Name (test@test.test)") end end context "not logged in" do given "integration without an eyrc file" - - before(:each) do - api_scenario "empty" - end it "prompts for authentication before outputting the logged in user" do ey(%w[whoami], :hide_err => true) do |input| input.puts("test@test.test") input.puts("test")