Commit ea8e00ea authored by Cool Fire's avatar Cool Fire

Fix testing and trial deploy

parent e517ef4a
Pipeline #328 failed with stages
in 2 minutes and 22 seconds
......@@ -2,5 +2,5 @@
for c in {1..4}
do
ssh deploy_user@insomnia247.nl "cd /home/deploy_user/public_html && git pull && touch tmp/restart" && break || sleep 3 && echo "retry"
ssh signup@insomnia247.nl "cd /home/signup/public_html && git pull && touch tmp/restart" && break || sleep 3 && echo "retry"
done
......@@ -50,12 +50,14 @@ describe 'Enter code page' do
it 'should reject empty invite codes' do
post '/check-code'
last_response.body.must_include 'Invite code appears to be invalid.'
follow_redirect!
last_request.url.must_include 'error'
end
it 'should reject improperly formatted invite codes' do
post '/check-code', input_invite: 'not an invite code'
last_response.body.must_include 'Invite code appears to be invalid.'
follow_redirect!
last_request.url.must_include 'error'
end
it 'should accept properly formatted invite codes' do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment