Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
d70f1f35
Commit
d70f1f35
authored
Nov 10, 2015
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests
parent
eef129bd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/requests/ci/api/builds_spec.rb
spec/requests/ci/api/builds_spec.rb
+2
-2
No files found.
spec/requests/ci/api/builds_spec.rb
View file @
d70f1f35
...
...
@@ -144,13 +144,13 @@ describe Ci::API::API do
it
"using token as parameter"
do
post
authorize_url
,
{
token:
build
.
project
.
token
},
headers
expect
(
response
.
status
).
to
eq
(
200
)
expect
(
json_response
[
"
temp_p
ath"
]).
to_not
be_nil
expect
(
json_response
[
"
TempP
ath"
]).
to_not
be_nil
end
it
"using token as header"
do
post
authorize_url
,
{},
headers_with_token
expect
(
response
.
status
).
to
eq
(
200
)
expect
(
json_response
[
"
temp_p
ath"
]).
to_not
be_nil
expect
(
json_response
[
"
TempP
ath"
]).
to_not
be_nil
end
end
...
...
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