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
a9518743
Commit
a9518743
authored
Oct 08, 2020
by
syasonik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove reference to tracing licensed feature in specs
parent
f7af49d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
22 deletions
+8
-22
spec/controllers/projects/tracings_controller_spec.rb
spec/controllers/projects/tracings_controller_spec.rb
+8
-22
No files found.
spec/controllers/projects/tracings_controller_spec.rb
View file @
a9518743
...
...
@@ -43,31 +43,17 @@ RSpec.describe Projects::TracingsController do
end
end
describe
'with valid license'
do
before
do
stub_licensed_features
(
tracing:
true
)
sign_in
(
user
)
end
context
'with maintainer role'
do
it_behaves_like
'user with read access'
,
:public
it_behaves_like
'user with read access'
,
:internal
it_behaves_like
'user with read access'
,
:private
end
context
'without maintainer role'
do
it_behaves_like
'user without read access'
,
:public
it_behaves_like
'user without read access'
,
:internal
it_behaves_like
'user without read access'
,
:private
end
before
do
sign_in
(
user
)
end
context
'with
invalid licens
e'
do
before
do
stub_licensed_features
(
tracing:
false
)
sign_in
(
user
)
end
context
'with
maintainer rol
e'
do
it_behaves_like
'user with read access'
,
:public
it_behaves_like
'user with read access'
,
:internal
it_behaves_like
'user with read access'
,
:private
end
context
'without maintainer role'
do
it_behaves_like
'user without read access'
,
:public
it_behaves_like
'user without read access'
,
:internal
it_behaves_like
'user without read access'
,
:private
...
...
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