spec/support/helpers.rb in engineyard-2.0.0.rc1 vs spec/support/helpers.rb in engineyard-2.0.0
- old
+ new
@@ -73,10 +73,10 @@
end
NonzeroExitStatus = Class.new(UnexpectedExit)
ZeroExitStatus = Class.new(UnexpectedExit)
def ey_api
- @api ||= EY::CloudClient.new('asdf', EY::CLI::UI.new)
+ @api ||= EY::CloudClient.new(:token => 'asdf')
end
def ensure_eyrc
begin
unless (data = read_eyrc) and data['api_token']