Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
shells
signup-site
Commits
ea8e00ea
Commit
ea8e00ea
authored
Jul 17, 2017
by
Cool Fire
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix testing and trial deploy
parent
e517ef4a
Pipeline
#328
failed with stages
in 2 minutes and 22 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
deploy.sh
deploy.sh
+1
-1
test.rb
test.rb
+4
-2
No files found.
deploy.sh
View file @
ea8e00ea
...
...
@@ -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
test.rb
View file @
ea8e00ea
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment