diff options
author | Azul <azul@leap.se> | 2013-11-06 10:20:33 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2013-11-06 10:20:33 +0100 |
commit | 44d273fd03645af5e546133adf4e9906800d3d5f (patch) | |
tree | a78c5b4f45069cc6b1bd1478b59fe2bf3f0ab34e /users/test/support | |
parent | 40f24e2887672957acf7ecedce58e692cc9505ca (diff) |
integration test for blocking handles after account destroyed
has not been run yet.
Diffstat (limited to 'users/test/support')
-rw-r--r-- | users/test/support/integration_test_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/users/test/support/integration_test_helper.rb b/users/test/support/integration_test_helper.rb index cfe72cf..51e47c6 100644 --- a/users/test/support/integration_test_helper.rb +++ b/users/test/support/integration_test_helper.rb @@ -1,7 +1,7 @@ module IntegrationTestHelper - def submit_signup - username = "test_#{SecureRandom.urlsafe_base64}".downcase - password = SecureRandom.base64 + def submit_signup(username = nil, password = nil) + username ||= "test_#{SecureRandom.urlsafe_base64}".downcase + password ||= SecureRandom.base64 visit '/users/new' fill_in 'Username', with: username fill_in 'Password', with: password |