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/unleash_spec.rb')
-rw-r--r--spec/requests/api/unleash_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/requests/api/unleash_spec.rb b/spec/requests/api/unleash_spec.rb
index 7bdb89fb286..3ee895d9421 100644
--- a/spec/requests/api/unleash_spec.rb
+++ b/spec/requests/api/unleash_spec.rb
@@ -8,8 +8,8 @@ RSpec.describe API::Unleash do
let_it_be(:project, refind: true) { create(:project) }
let(:project_id) { project.id }
- let(:params) { }
- let(:headers) { }
+ let(:params) {}
+ let(:headers) {}
shared_examples 'authenticated request' do
context 'when using instance id' do
@@ -57,7 +57,7 @@ RSpec.describe API::Unleash do
context 'when using header' do
let(:client) { create(:operations_feature_flags_client, project: project) }
- let(:headers) { { "UNLEASH-INSTANCEID" => client.token }}
+ let(:headers) { { "UNLEASH-INSTANCEID" => client.token } }
it 'responds with OK' do
subject