Permalink
Browse files

Revert "Fixing the unit test failure"

This reverts commit 8827307.
  • Loading branch information...
1 parent c3fe15f commit 6d1e5870929b0bc0e95f535f847db323de9c8823 @kohsuke kohsuke committed Mar 30, 2013
Showing with 3 additions and 7 deletions.
  1. +2 −4 features/cli/scp.feature
  2. +1 −2 features/cli/ssh.feature
  3. +0 −1 features/step_definitions/cli_steps.rb
@@ -13,8 +13,7 @@ Feature: SCP a file into a named VM
end
"""
And I have a file named "hello.txt"
- When I run `blimpy wait_for_ssh`
- And I run `blimpy scp Gherkins hello.txt`
+ When I run `blimpy scp Gherkins hello.txt`
Then the exit status should be 1
And the output should contain:
"""
@@ -35,6 +34,5 @@ Feature: SCP a file into a named VM
"""
And I have a file named "hello.txt"
And I run `blimpy start`
- When I run `blimpy wait_for_ssh`
- And I run `blimpy scp "Cucumber Host" hello.txt`
+ When I run `blimpy scp "Cucumber Host" hello.txt`
Then the exit status should be 0
@@ -12,8 +12,7 @@ Feature: SSH into a named VM
end
end
"""
- When I run `blimpy wait_for_ssh`
- And I run `blimpy ssh Gherkins`
+ When I run `blimpy ssh Gherkins`
Then the exit status should be 1
And the output should contain:
"""
@@ -34,7 +34,6 @@
When /^I ssh into the machine$/ do
step %{I run `blimpy start`}
- step %{I run `blimpy wait_for_ssh`}
step %{I run `blimpy ssh "Cucumber Host" -o StrictHostKeyChecking=no` interactively}
end

0 comments on commit 6d1e587

Please sign in to comment.