Commit aace6d4e authored by Winnie Hellmann's avatar Winnie Hellmann Committed by Kushal Pandya

Remove some feaures and fetures

parent 835c52a4
...@@ -13,7 +13,7 @@ describe Projects::AutocompleteSourcesController do ...@@ -13,7 +13,7 @@ describe Projects::AutocompleteSourcesController do
sign_in(user) sign_in(user)
end end
context 'when epics feture is disabled' do context 'when epics feature is disabled' do
it 'returns 404 status' do it 'returns 404 status' do
get :epics, params: { namespace_id: project.namespace, project_id: project } get :epics, params: { namespace_id: project.namespace, project_id: project }
...@@ -21,7 +21,7 @@ describe Projects::AutocompleteSourcesController do ...@@ -21,7 +21,7 @@ describe Projects::AutocompleteSourcesController do
end end
end end
context 'when epics feture is enabled' do context 'when epics feature is enabled' do
before do before do
stub_licensed_features(epics: true) stub_licensed_features(epics: true)
end end
......
...@@ -24,7 +24,7 @@ describe Gitlab::UsageData do ...@@ -24,7 +24,7 @@ describe Gitlab::UsageData do
end end
end end
context 'when the :usage_activity_by_stage feaure is not enabled' do context 'when the :usage_activity_by_stage feature is not enabled' do
before do before do
stub_feature_flags(usage_activity_by_stage: false) stub_feature_flags(usage_activity_by_stage: false)
end end
......
...@@ -27,7 +27,7 @@ describe Todos::Destroy::PrivateFeaturesService do ...@@ -27,7 +27,7 @@ describe Todos::Destroy::PrivateFeaturesService do
context 'when user_id is provided' do context 'when user_id is provided' do
subject { described_class.new(project.id, user.id).execute } subject { described_class.new(project.id, user.id).execute }
context 'when all feaures have same visibility as the project' do context 'when all features have same visibility as the project' do
it 'removes only user issue todos' do it 'removes only user issue todos' do
expect { subject }.not_to change { Todo.count } expect { subject }.not_to change { Todo.count }
end end
...@@ -92,7 +92,7 @@ describe Todos::Destroy::PrivateFeaturesService do ...@@ -92,7 +92,7 @@ describe Todos::Destroy::PrivateFeaturesService do
context 'when user_id is not provided' do context 'when user_id is not provided' do
subject { described_class.new(project.id).execute } subject { described_class.new(project.id).execute }
context 'when all feaures have same visibility as the project' do context 'when all features have same visibility as the project' do
it 'does not remove any todos' do it 'does not remove any todos' do
expect { subject }.not_to change { Todo.count } expect { subject }.not_to change { Todo.count }
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment