Created
December 19, 2013 20:46
-
-
Save elight/8046002 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
context "when I create a server" do | |
Given { pending "we're having a timeout issue here'" } | |
Given(:private_key) { home.join '.ssh/id_rsa' } | |
Given do | |
FileUtils.mkdir_p private_key.dirname, mode: 0700 | |
`echo -e "y\n" | ssh-keygen -t rsa -C "[email protected]" -N "testing" -f "#{private_key}"` | |
end | |
When {VCR.use_cassette('servers/create') {run "rumm create server --name silly-saffron"}} | |
Then {all_stdout =~ /created server/} | |
And {last_exit_status.should eql 0} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment