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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
748dd35c
Commit
748dd35c
authored
Sep 19, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec failures
parent
5790684d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
spec/lib/gitlab/auth_spec.rb
spec/lib/gitlab/auth_spec.rb
+1
-1
spec/models/ci/build_spec.rb
spec/models/ci/build_spec.rb
+1
-1
No files found.
spec/lib/gitlab/auth_spec.rb
View file @
748dd35c
...
...
@@ -171,7 +171,7 @@ describe Gitlab::Auth, lib: true do
def
full_authentication_abilities
read_authentication_abilities
+
[
:push_code
,
:
upd
ate_container_image
:
cre
ate_container_image
]
end
end
spec/models/ci/build_spec.rb
View file @
748dd35c
...
...
@@ -8,7 +8,7 @@ describe Ci::Build, models: true do
it
'obfuscates project runners token'
do
allow
(
build
).
to
receive
(
:raw_trace
).
and_return
(
"Test:
#{
build
.
project
.
runners_token
}
"
)
expect
(
build
.
trace
).
to
eq
(
"Test: xxxxxx"
)
expect
(
build
.
trace
).
to
eq
(
"Test: xxxxxx
xxxxxxxxxxxxxx
"
)
end
it
'empty project runners token'
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