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
9eb166dc
Commit
9eb166dc
authored
Jun 11, 2021
by
Vitaly Slobodin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use correct route in spec
parent
0c0bb2e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
11 deletions
+2
-11
ee/spec/features/admin/admin_dashboard_spec.rb
ee/spec/features/admin/admin_dashboard_spec.rb
+2
-11
No files found.
ee/spec/features/admin/admin_dashboard_spec.rb
View file @
9eb166dc
...
...
@@ -86,15 +86,6 @@ RSpec.describe 'Admin Dashboard' do
end
end
context
'on dotcom'
do
before
do
allow
(
Gitlab
).
to
receive
(
:com?
).
and_return
(
true
)
visit
(
admin_dashboard_stats_path
)
end
it_behaves_like
'a hidden alert'
end
context
'on self-managed'
do
before
do
allow
(
Gitlab
).
to
receive
(
:ee?
).
and_return
(
true
)
...
...
@@ -103,7 +94,7 @@ RSpec.describe 'Admin Dashboard' do
context
'when qrtly reconciliation is available'
do
before
do
create
(
:upcoming_reconciliation
,
:self_managed
)
visit
(
admin_
dashboard_stats
_path
)
visit
(
admin_
root
_path
)
end
it_behaves_like
'a visible alert'
...
...
@@ -111,7 +102,7 @@ RSpec.describe 'Admin Dashboard' do
context
'when qrtly reconciliation is not available'
do
before
do
visit
(
admin_
dashboard_stats
_path
)
visit
(
admin_
root
_path
)
end
it_behaves_like
'a hidden alert'
...
...
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