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:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-10-19 21:07:43 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-10-19 21:07:43 +0300
commit1e1012d3d28c426637eecc0909c415fe2c8b7c3a (patch)
treed230780752bb3b98cf4f3ede1c6f8e98c9a238c7 /spec/support_specs
parent3c55affa6684311ca73bc4e3d3bfb17b7541f63b (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support_specs')
-rw-r--r--spec/support_specs/helpers/stub_saas_features_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/support_specs/helpers/stub_saas_features_spec.rb b/spec/support_specs/helpers/stub_saas_features_spec.rb
index ed973071a6d..c3cec3f47aa 100644
--- a/spec/support_specs/helpers/stub_saas_features_spec.rb
+++ b/spec/support_specs/helpers/stub_saas_features_spec.rb
@@ -6,7 +6,7 @@ RSpec.describe StubSaasFeatures, feature_category: :shared do
describe '#stub_saas_features' do
using RSpec::Parameterized::TableSyntax
- let(:feature_name) { '_some_saas_feature_' }
+ let(:feature_name) { :some_saas_feature }
context 'when checking global state' do
where(:feature_value) do
@@ -41,10 +41,10 @@ RSpec.describe StubSaasFeatures, feature_category: :shared do
end
it 'handles multiple features' do
- stub_saas_features(feature_name => false, '_some_new_feature_' => true)
+ stub_saas_features(feature_name => false, some_new_feature: true)
expect(::Gitlab::Saas.feature_available?(feature_name)).to eq(false)
- expect(::Gitlab::Saas.feature_available?('_some_new_feature_')).to eq(true)
+ expect(::Gitlab::Saas.feature_available?(:some_new_feature)).to eq(true)
end
end
end