Permalink
Browse files

fix resource usage bvt

Change-Id: Idfb626cdd78a83cb3708d7c75ee779541634eee3
  • Loading branch information...
1 parent 48ef463 commit 4c1e5484200292df7e5e46aced8deffac0d482ab Patrick Bozeman committed Aug 2, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 features/step_definitions/appcloud_steps.rb
@@ -320,7 +320,7 @@
Then /^I should get information representing my application\'s resource use\.$/ do
@app_stats.should_not == nil
- stats = @app_stats.to_a[1][1]
+ stats = @app_stats[:stats]
stats.should_not == nil
appname = get_app_name @app
stats[:name].should == appname
@@ -332,7 +332,7 @@
sleep sleep_time
timeout -= sleep_time
@app_stats = get_app_stats @app, @token
- stats = @app_stats.to_a[1][1]
+ stats = @app_stats[:stats]
end
stats[:usage].should_not == nil

0 comments on commit 4c1e548

Please sign in to comment.