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
2d126384
Commit
2d126384
authored
Aug 28, 2020
by
mfluharty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refine controller spec according to feedback
parent
98ec4b86
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ee/spec/controllers/groups/analytics/repository_analytics_controller_spec.rb
.../groups/analytics/repository_analytics_controller_spec.rb
+2
-2
No files found.
ee/spec/controllers/groups/analytics/repository_analytics_controller_spec.rb
View file @
2d126384
...
...
@@ -4,7 +4,7 @@ require 'spec_helper'
RSpec
.
describe
Groups
::
Analytics
::
RepositoryAnalyticsController
do
let_it_be
(
:current_user
)
{
create
(
:user
)
}
let_it_be
(
:group
)
{
create
:group
}
let_it_be
(
:group
)
{
create
(
:group
)
}
let_it_be
(
:feature_flag_name
)
{
Gitlab
::
Analytics
::
GROUP_COVERAGE_REPORTS_FEATURE_FLAG
}
let_it_be
(
:feature_name
)
{
:group_repository_analytics
}
...
...
@@ -22,7 +22,7 @@ RSpec.describe Groups::Analytics::RepositoryAnalyticsController do
group
.
add_guest
(
current_user
)
end
it
{
is_expected
.
to
be_successful
}
specify
{
is_expected
.
to
have_gitlab_http_status
(
:success
)
}
context
'when license is missing'
do
before
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