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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
23a86825
Commit
23a86825
authored
Mar 29, 2021
by
drew cimino
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary stub
parent
3c0872c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
spec/models/commit_status_spec.rb
spec/models/commit_status_spec.rb
+6
-2
No files found.
spec/models/commit_status_spec.rb
View file @
23a86825
...
...
@@ -510,10 +510,14 @@ RSpec.describe CommitStatus do
end
describe
'#group_name'
do
before
do
stub_feature_flags
(
simplified_commit_status_group_name:
true
)
using
RSpec
::
Parameterized
::
TableSyntax
let
(
:commit_status
)
do
build
(
:commit_status
,
pipeline:
pipeline
,
stage:
'test'
)
end
subject
{
commit_status
.
group_name
}
where
(
:name
,
:group_name
)
do
'rspec1'
|
'rspec1'
'rspec1 0 1'
|
'rspec1'
...
...
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