diff options
Diffstat (limited to 'spec/frontend/fixtures/environments.rb')
-rw-r--r-- | spec/frontend/fixtures/environments.rb | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/spec/frontend/fixtures/environments.rb b/spec/frontend/fixtures/environments.rb index 81f1eb11e3e..8cf0977c5ed 100644 --- a/spec/frontend/fixtures/environments.rb +++ b/spec/frontend/fixtures/environments.rb @@ -27,13 +27,16 @@ RSpec.describe 'Environments (JavaScript fixtures)', feature_category: :environm query = get_graphql_query_as_string(environment_details_query_path) puts project.full_path puts environment.name - post_graphql(query, current_user: admin, - variables: - { - projectFullPath: project.full_path, - environmentName: environment.name, - pageSize: 10 - }) + post_graphql( + query, + current_user: admin, + variables: + { + projectFullPath: project.full_path, + environmentName: environment.name, + pageSize: 10 + } + ) expect_graphql_errors_to_be_empty end end @@ -58,13 +61,16 @@ RSpec.describe 'Environments (JavaScript fixtures)', feature_category: :environm it "graphql/#{environment_details_query_path}.json" do query = get_graphql_query_as_string(environment_details_query_path) - post_graphql(query, current_user: admin, - variables: - { - projectFullPath: project.full_path, - environmentName: environment.name, - pageSize: 10 - }) + post_graphql( + query, + current_user: admin, + variables: + { + projectFullPath: project.full_path, + environmentName: environment.name, + pageSize: 10 + } + ) expect_graphql_errors_to_be_empty end end |