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
aace6d4e
Commit
aace6d4e
authored
Oct 03, 2019
by
Winnie Hellmann
Committed by
Kushal Pandya
Oct 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some feaures and fetures
parent
835c52a4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
ee/spec/controllers/ee/projects/autocomplete_sources_controller_spec.rb
...llers/ee/projects/autocomplete_sources_controller_spec.rb
+2
-2
ee/spec/lib/ee/gitlab/usage_data_spec.rb
ee/spec/lib/ee/gitlab/usage_data_spec.rb
+1
-1
spec/services/todos/destroy/private_features_service_spec.rb
spec/services/todos/destroy/private_features_service_spec.rb
+2
-2
No files found.
ee/spec/controllers/ee/projects/autocomplete_sources_controller_spec.rb
View file @
aace6d4e
...
...
@@ -13,7 +13,7 @@ describe Projects::AutocompleteSourcesController do
sign_in
(
user
)
end
context
'when epics feture is disabled'
do
context
'when epics fe
a
ture is disabled'
do
it
'returns 404 status'
do
get
:epics
,
params:
{
namespace_id:
project
.
namespace
,
project_id:
project
}
...
...
@@ -21,7 +21,7 @@ describe Projects::AutocompleteSourcesController do
end
end
context
'when epics feture is enabled'
do
context
'when epics fe
a
ture is enabled'
do
before
do
stub_licensed_features
(
epics:
true
)
end
...
...
ee/spec/lib/ee/gitlab/usage_data_spec.rb
View file @
aace6d4e
...
...
@@ -24,7 +24,7 @@ describe Gitlab::UsageData do
end
end
context
'when the :usage_activity_by_stage feaure is not enabled'
do
context
'when the :usage_activity_by_stage fea
t
ure is not enabled'
do
before
do
stub_feature_flags
(
usage_activity_by_stage:
false
)
end
...
...
spec/services/todos/destroy/private_features_service_spec.rb
View file @
aace6d4e
...
...
@@ -27,7 +27,7 @@ describe Todos::Destroy::PrivateFeaturesService do
context
'when user_id is provided'
do
subject
{
described_class
.
new
(
project
.
id
,
user
.
id
).
execute
}
context
'when all feaures have same visibility as the project'
do
context
'when all fea
t
ures have same visibility as the project'
do
it
'removes only user issue todos'
do
expect
{
subject
}.
not_to
change
{
Todo
.
count
}
end
...
...
@@ -92,7 +92,7 @@ describe Todos::Destroy::PrivateFeaturesService do
context
'when user_id is not provided'
do
subject
{
described_class
.
new
(
project
.
id
).
execute
}
context
'when all feaures have same visibility as the project'
do
context
'when all fea
t
ures have same visibility as the project'
do
it
'does not remove any todos'
do
expect
{
subject
}.
not_to
change
{
Todo
.
count
}
end
...
...
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