summaryrefslogtreecommitdiff
path: root/users/test/integration/browser
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2013-08-22 11:32:31 -0700
committerjessib <jessib@riseup.net>2013-08-22 11:32:31 -0700
commit8c45a3c54f2b0b709ebf040de0db00b6913e709b (patch)
tree3474b0db6b7e4921566af430fa36d790ac021dd0 /users/test/integration/browser
parent41de2179c67fc09e1558280c5601cc07b2e40b43 (diff)
parent75db45671d432a0d81805ad50c6cc9f8f7eff7a7 (diff)
Merge pull request #70 from azul/bugfix/validate_login_like_signup
use the same login validations on sessions and users
Diffstat (limited to 'users/test/integration/browser')
-rw-r--r--users/test/integration/browser/account_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/test/integration/browser/account_test.rb b/users/test/integration/browser/account_test.rb
index c65c491..b412980 100644
--- a/users/test/integration/browser/account_test.rb
+++ b/users/test/integration/browser/account_test.rb
@@ -28,8 +28,8 @@ class AccountTest < BrowserIntegrationTest
fill_in 'Password', with: "password"
inject_malicious_js
click_on 'Log In'
- assert !page.has_content?("Welcome")
assert page.has_content?("Invalid random key")
+ assert page.has_no_content?("Welcome")
end
def inject_malicious_js