Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/requests/api/feature_flags_spec.rb')
-rw-r--r--spec/requests/api/feature_flags_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/requests/api/feature_flags_spec.rb b/spec/requests/api/feature_flags_spec.rb
index a1aedc1d6b2..bf7eec167f5 100644
--- a/spec/requests/api/feature_flags_spec.rb
+++ b/spec/requests/api/feature_flags_spec.rb
@@ -365,8 +365,8 @@ RSpec.describe API::FeatureFlags do
describe 'PUT /projects/:id/feature_flags/:name' do
context 'with a version 2 feature flag' do
let!(:feature_flag) do
- create(:operations_feature_flag, :new_version_flag, project: project, active: true,
- name: 'feature1', description: 'old description')
+ create(:operations_feature_flag, :new_version_flag,
+ project: project, active: true, name: 'feature1', description: 'old description')
end
it 'returns a 404 if the feature flag does not exist' do
@@ -591,8 +591,8 @@ RSpec.describe API::FeatureFlags do
it 'deletes a feature flag strategy' do
strategy_a = create(:operations_strategy, feature_flag: feature_flag, name: 'default', parameters: {})
- strategy_b = create(:operations_strategy, feature_flag: feature_flag,
- name: 'userWithId', parameters: { userIds: 'userA,userB' })
+ strategy_b = create(:operations_strategy,
+ feature_flag: feature_flag, name: 'userWithId', parameters: { userIds: 'userA,userB' })
params = {
strategies: [{
id: strategy_a.id,