diff options
Diffstat (limited to 'spec/requests/api/graphql/ci/group_variables_spec.rb')
-rw-r--r-- | spec/requests/api/graphql/ci/group_variables_spec.rb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/spec/requests/api/graphql/ci/group_variables_spec.rb b/spec/requests/api/graphql/ci/group_variables_spec.rb index 5ea6646ec2c..ff45fa3d1b8 100644 --- a/spec/requests/api/graphql/ci/group_variables_spec.rb +++ b/spec/requests/api/graphql/ci/group_variables_spec.rb @@ -35,8 +35,14 @@ RSpec.describe 'Query.group(fullPath).ciVariables' do end it "returns the group's CI variables" do - variable = create(:ci_group_variable, group: group, key: 'TEST_VAR', value: 'test', - masked: false, protected: true, raw: true, environment_scope: 'staging') + variable = create(:ci_group_variable, + group: group, + key: 'TEST_VAR', + value: 'test', + masked: false, + protected: true, + raw: true, + environment_scope: 'staging') post_graphql(query, current_user: user) |