Permalink
Browse files

Remove workaround for fixed rails console issue

Change-Id: I8322197b9250d151a1c505cc9e17db0b2ace54c2
  • Loading branch information...
1 parent 85342dd commit 99248c5a70bd59cd4a444432f974e483de74820b Jennifer Hickey committed Jun 6, 2012
Showing with 7 additions and 9 deletions.
  1. +1 −1 Gemfile
  2. +5 −3 Gemfile.lock
  3. +1 −5 features/step_definitions/rails_console_steps.rb
View
@@ -13,7 +13,7 @@ gem "rest-client"
gem "rubyzip", "~> 0.9.4"
gem "terminal-table"
gem "highline"
-gem "vmc", "~> 0.3.17"
+gem "vmc", "~> 0.3.18"
gem "parallel", "0.5.11"
gem "parallel_tests"
gem "caldecott", "~> 0.0.4"
View
@@ -35,7 +35,7 @@ GEM
json (>= 1.4.6)
highline (1.6.12)
httpclient (2.2.5)
- interact (0.4.2)
+ interact (0.4.3)
json (1.6.7)
json_pure (1.6.7)
mime-types (1.18)
@@ -52,6 +52,7 @@ GEM
rack-protection (1.2.0)
rack
rake (0.9.2.2)
+ rb-readline (0.4.2)
rest-client (1.6.7)
mime-types (>= 1.16)
rspec (1.3.0)
@@ -68,10 +69,11 @@ GEM
rack (>= 1.0.0)
tilt (1.3.3)
uuidtools (2.1.2)
- vmc (0.3.17)
+ vmc (0.3.18)
addressable (~> 2.2.6)
interact (~> 0.4.0)
json_pure (>= 1.5.1, < 1.7.0)
+ rb-readline (~> 0.4.2)
rest-client (>= 1.6.1, < 1.7.0)
rubyzip (~> 0.9.4)
terminal-table (~> 1.4.2)
@@ -98,5 +100,5 @@ DEPENDENCIES
rspec (= 1.3.0)
rubyzip (~> 0.9.4)
terminal-table
- vmc (~> 0.3.17)
+ vmc (~> 0.3.18)
yajl-ruby
@@ -5,11 +5,7 @@
#if system is under heavy load. Try a few times.
3.times do
begin
- console_output = run_console get_app_name @app
- #Due to small bug in vmc console_login method, the prompt may or may
- #not be pre-pended with "Switch to inspect mode \n". Pull out the last line
- #just in case
- prompt = console_output.split("\n")[-1]
+ prompt = run_console get_app_name @app
@console_response = [prompt]
break
rescue VMC::Cli::CliExit

0 comments on commit 99248c5

Please sign in to comment.