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
b0195d5c
Commit
b0195d5c
authored
Sep 16, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix specs for available statuses
parent
f7ae37c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/lib/gitlab/auth_spec.rb
spec/lib/gitlab/auth_spec.rb
+2
-2
No files found.
spec/lib/gitlab/auth_spec.rb
View file @
b0195d5c
...
...
@@ -26,7 +26,7 @@ describe Gitlab::Auth, lib: true do
end
end
(
HasStatus
::
AVAILABLE_STATUSES
-
[
:running
]).
each
do
|
build_status
|
(
HasStatus
::
AVAILABLE_STATUSES
-
[
'running'
]).
each
do
|
build_status
|
context
"for
#{
build_status
}
build"
do
let!
(
:build
)
{
create
(
:ci_build
,
status:
build_status
)
}
let
(
:project
)
{
build
.
project
}
...
...
@@ -36,7 +36,7 @@ describe Gitlab::Auth, lib: true do
end
it
'denies authentication'
do
expect
(
subject
).
not_
to
eq
(
Gitlab
::
Auth
::
Result
.
new
)
expect
(
subject
).
to
eq
(
Gitlab
::
Auth
::
Result
.
new
)
end
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