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
74c9ca6b
Commit
74c9ca6b
authored
Mar 19, 2020
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a test that only pass on retry
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
4404fa9f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ee/spec/controllers/groups/billings_controller_spec.rb
ee/spec/controllers/groups/billings_controller_spec.rb
+2
-2
No files found.
ee/spec/controllers/groups/billings_controller_spec.rb
View file @
74c9ca6b
...
@@ -9,7 +9,7 @@ describe Groups::BillingsController do
...
@@ -9,7 +9,7 @@ describe Groups::BillingsController do
describe
'GET index'
do
describe
'GET index'
do
before
do
before
do
stub_application_setting
(
check_namespace_plan:
true
)
stub_application_setting
(
check_namespace_plan:
true
)
allow
(
Gitlab
).
to
receive
(
:dev_env_org_or_com
?
)
{
true
}
allow
(
Gitlab
::
CurrentSettings
).
to
receive
(
:should_check_namespace_plan
?
)
{
true
}
end
end
context
'authorized'
do
context
'authorized'
do
...
@@ -48,7 +48,7 @@ describe Groups::BillingsController do
...
@@ -48,7 +48,7 @@ describe Groups::BillingsController do
end
end
it
'renders 404 when it is not gitlab.com'
do
it
'renders 404 when it is not gitlab.com'
do
allow
(
Gitlab
).
to
receive
(
:dev_env_org_or_com?
)
{
false
}
expect
(
Gitlab
::
CurrentSettings
).
to
receive
(
:should_check_namespace_plan?
).
at_least
(
:once
)
{
false
}
group
.
add_owner
(
user
)
group
.
add_owner
(
user
)
sign_in
(
user
)
sign_in
(
user
)
...
...
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