summaryrefslogtreecommitdiff
path: root/test/support/browser_integration_test.rb
diff options
context:
space:
mode:
authorAya Jaff <ayajaff@hotmail.com>2015-08-12 15:18:34 +0200
committerankonym <ankonym@gmail.com>2015-09-28 15:12:44 +0200
commit9156f1354f404c569e7fd337cff0171f6f43842e (patch)
treeb32b4026dfdbdf8a2b7b8e1161d2922891bf3d24 /test/support/browser_integration_test.rb
parent8f03c13a038469a1191666259ef5609c89d69d90 (diff)
Added an 'invite code' to all the tests for the sign-up form so we have a valid user for the tests again
Diffstat (limited to 'test/support/browser_integration_test.rb')
-rw-r--r--test/support/browser_integration_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/support/browser_integration_test.rb b/test/support/browser_integration_test.rb
index 1e2aa51..48c7623 100644
--- a/test/support/browser_integration_test.rb
+++ b/test/support/browser_integration_test.rb
@@ -50,6 +50,7 @@ class BrowserIntegrationTest < ActionDispatch::IntegrationTest
visit '/users/new'
fill_in 'Username', with: username
fill_in 'Password', with: password
+ fill_in 'Invite code', with: 'testcode'
fill_in 'Password confirmation', with: password
click_on 'Sign Up'
return username, password