summaryrefslogtreecommitdiff
path: root/users/test/support
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-02-08 11:13:10 +0100
committerAzul <azul@leap.se>2014-02-10 14:26:30 +0100
commit67f17e65b9e9e8ad2991b9c4002dba5203baa77f (patch)
tree136f644eac462e583ca4bf1c957414f12d7c5035 /users/test/support
parent88f8128d568daaaa122d55ac7e546a81ae60964a (diff)
refactor tests to ease the testing of token only auth
Diffstat (limited to 'users/test/support')
-rw-r--r--users/test/support/integration_test_helper.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/users/test/support/integration_test_helper.rb b/users/test/support/integration_test_helper.rb
deleted file mode 100644
index 51e47c6..0000000
--- a/users/test/support/integration_test_helper.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-module IntegrationTestHelper
- 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
- fill_in 'Password confirmation', with: password
- click_on 'Sign Up'
- return username, password
- end
-end