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
fb875d56
Commit
fb875d56
authored
Sep 13, 2017
by
Oswaldo Ferreira
Committed by
Oswaldo Ferreira
Sep 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust inconsistent failures on Billings controller tests
parent
84661628
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/controllers/groups/billings_controller_spec.rb
spec/controllers/groups/billings_controller_spec.rb
+2
-2
No files found.
spec/controllers/groups/billings_controller_spec.rb
View file @
fb875d56
...
...
@@ -7,7 +7,7 @@ describe Groups::BillingsController do
describe
'GET index'
do
before
do
stub_application_setting
(
check_namespace_plan:
true
)
allow
(
Gitlab
).
to
receive
(
:com?
)
{
true
}
allow
(
Gitlab
).
to
receive
(
:
dev_env_or_
com?
)
{
true
}
end
context
'authorized'
do
...
...
@@ -46,7 +46,7 @@ describe Groups::BillingsController do
end
it
'renders 404 when it is not gitlab.com'
do
allow
(
Gitlab
).
to
receive
(
:com?
)
{
false
}
allow
(
Gitlab
).
to
receive
(
:
dev_env_or_
com?
)
{
false
}
group
.
add_owner
(
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