summaryrefslogtreecommitdiff
path: root/users/test/integration/browser/account_test.rb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-09-17 13:04:11 +0200
committerAzul <azul@leap.se>2013-09-17 13:04:11 +0200
commit165e417bc6ba66d51d74764db7b59279fb6a923f (patch)
treedb8183b93ad5e500a1698524447fa8efb813d606 /users/test/integration/browser/account_test.rb
parent5433d2889b2aa1fe3eaa1003c2268edbddd04c2e (diff)
integration tests for session expiry
Diffstat (limited to 'users/test/integration/browser/account_test.rb')
-rw-r--r--users/test/integration/browser/account_test.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/users/test/integration/browser/account_test.rb b/users/test/integration/browser/account_test.rb
index a5ec2c5..ae4676c 100644
--- a/users/test/integration/browser/account_test.rb
+++ b/users/test/integration/browser/account_test.rb
@@ -47,17 +47,6 @@ class AccountTest < BrowserIntegrationTest
assert page.has_content?("server failed")
end
- def submit_signup
- username = "test_#{SecureRandom.urlsafe_base64}".downcase
- password = SecureRandom.base64
- visit '/users/new'
- fill_in 'Username', with: username
- fill_in 'Password', with: password
- fill_in 'Password confirmation', with: password
- click_on 'Sign Up'
- return username, password
- end
-
def inject_malicious_js
page.execute_script <<-EOJS
var calc = new srp.Calculate();