Skip to content
Browse files

actually caught a bug in a test where the mysterious account needed t…

…o be deleted in a before :all block... also got another test working with vcr tapes
  • Loading branch information...
1 parent b69792f commit 45c2a4b6419957f40d68a432ed18fb9eadad7f11 TheNotary committed Jul 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/integration/ssh_spec.rb
View
2 spec/integration/ssh_spec.rb
@@ -207,7 +207,7 @@
# Code to prepare the github environment for testing
@sample_rsa = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDn74QR9yHb+hcid8iH3+FTaEwnKtwjttseJDbIA2PaivN2uvESrvHlp8Ss/cRox3fFu34QR5DpdOhlfULjTX7yKVuxhaNrAJaqg8rX8hgr9U1Botnyy1DBueEyyA3o1fxRkmwTf6FNnkt1BxWP635tD0lbmUubwaadXjQqPOf3Uw=="
-
+ Gas.delete(@nickname)
Gas::Ssh.stub!(:get_username_and_password_and_authenticate).and_return(@credentials)
#Gas::GithubSpeaker.stub!(:get_username_and_password_and_authenticate).and_return({:account_name => @username, :password => @password})
#Gas::Ssh::GithubSpeaker.stub!(:get_username_and_password_and_authenticate).and_return({:account_name => @username, :password => @password})

0 comments on commit 45c2a4b

Please sign in to comment.
Something went wrong with that request. Please try again.