Commit 3a13378c authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'winh-remoe-feaures' into 'master'

Remove some feaures and fetures

See merge request gitlab-org/gitlab!17967
parents 835c52a4 aace6d4e
......@@ -13,7 +13,7 @@ describe Projects::AutocompleteSourcesController do
sign_in(user)
end
context 'when epics feture is disabled' do
context 'when epics feature 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 feature is enabled' do
before do
stub_licensed_features(epics: true)
end
......
......@@ -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 feature is not enabled' do
before do
stub_feature_flags(usage_activity_by_stage: false)
end
......
......@@ -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 features 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 features have same visibility as the project' do
it 'does not remove any todos' do
expect { subject }.not_to change { Todo.count }
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