BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
auth_spec.rb
spec/lib/gitlab/auth_spec.rb
+1
-1
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