spec/engineyard/cli/api_spec.rb in engineyard-0.2.9 vs spec/engineyard/cli/api_spec.rb in engineyard-0.2.10

- old
+ new

@@ -20,10 +20,10 @@ context "without saved api token" do before(:each) do FakeWeb.register_uri(:post, "https://cloud.engineyard.com/api/v2/authenticate", :body => %|{"api_token": "asdf"}|) - capture_stdout("\n\n") do + capture_stdio("\n\n") do @token = EY::CLI::API.new end end it "asks you for your credentials" do \ No newline at end of file