spec/shelly/client_spec.rb in shelly-0.4.12 vs spec/shelly/client_spec.rb in shelly-0.4.13
- old
+ new
@@ -86,11 +86,11 @@
end
describe "#register_user" do
it "should send post request with login and password" do
@client.should_receive(:post).with("/users", {:user => {:email => "test@example.com",
- :password => "secret", :ssh_key => "ssh-key Abb"}})
- @client.register_user("test@example.com", "secret", "ssh-key Abb")
+ :password => "secret"}})
+ @client.register_user("test@example.com", "secret")
end
end
describe "#user_email" do
it "should take user email from .netrc" do