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
2893d797
Commit
2893d797
authored
Aug 25, 2017
by
Tim Zallmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for @show_promotions
parent
cc7eb982
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
spec/controllers/groups/analytics_controller_spec.rb
spec/controllers/groups/analytics_controller_spec.rb
+1
-1
spec/features/projects/audit_events_spec.rb
spec/features/projects/audit_events_spec.rb
+1
-1
No files found.
spec/controllers/groups/analytics_controller_spec.rb
View file @
2893d797
...
@@ -50,7 +50,7 @@ describe Groups::AnalyticsController do
...
@@ -50,7 +50,7 @@ describe Groups::AnalyticsController do
before
do
before
do
allow
(
License
).
to
receive
(
:current
).
and_return
(
nil
)
allow
(
License
).
to
receive
(
:current
).
and_return
(
nil
)
stub_application_setting
(
check_namespace_plan:
false
)
stub_application_setting
(
check_namespace_plan:
false
)
controller
.
instance_variable_set
(
:@show_promotions
,
nil
)
@show_promotions
=
nil
end
end
it
'returns page when feature is not available and we show promotions'
do
it
'returns page when feature is not available and we show promotions'
do
...
...
spec/features/projects/audit_events_spec.rb
View file @
2893d797
...
@@ -33,7 +33,7 @@ feature 'Projects > Audit Events', :js do
...
@@ -33,7 +33,7 @@ feature 'Projects > Audit Events', :js do
stub_licensed_features
(
audit_events:
false
)
stub_licensed_features
(
audit_events:
false
)
allow
(
License
).
to
receive
(
:current
).
and_return
(
nil
)
allow
(
License
).
to
receive
(
:current
).
and_return
(
nil
)
stub_application_setting
(
check_namespace_plan:
false
)
stub_application_setting
(
check_namespace_plan:
false
)
controller
.
instance_variable_set
(
:@show_promotions
,
nil
)
@show_promotions
=
nil
end
end
it
'returns 200'
do
it
'returns 200'
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