summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-07-11 14:26:26 -0700
committerelijah <elijah@riseup.net>2013-07-11 14:26:26 -0700
commite1219611dacb59cd51652806fb4c1cc79ea44a7e (patch)
tree9faba979e934083c0d55f3ab34393a3947492e7d
parent2daca14392db93617676a633a4562cfbbf4c0796 (diff)
fix failing tests
-rw-r--r--users/test/integration/api/account_flow_test.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/users/test/integration/api/account_flow_test.rb b/users/test/integration/api/account_flow_test.rb
index 2e45367..d4360de 100644
--- a/users/test/integration/api/account_flow_test.rb
+++ b/users/test/integration/api/account_flow_test.rb
@@ -66,8 +66,7 @@ class AccountFlowTest < RackTest
test "signup and wrong password login attempt" do
srp = SRP::Client.new @login, :password => "wrong password"
server_auth = srp.authenticate(self)
- assert_json_error login: "Not a valid username/password combination",
- password: "Not a valid username/password combination"
+ assert_json_error "base" => "Not a valid username/password combination"
assert !last_response.successful?
assert_nil server_auth["M2"]
end
@@ -78,8 +77,7 @@ class AccountFlowTest < RackTest
assert_raises RECORD_NOT_FOUND do
server_auth = srp.authenticate(self)
end
- assert_json_error login: "Not a valid username/password combination",
- password: "Not a valid username/password combination"
+ assert_json_error "base" => "Not a valid username/password combination"
assert !last_response.successful?
assert_nil server_auth
end