blob: 04140cad3f0fd5aabe8f80c525a3a9a98d436db3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
require 'spec_helper'
shared_examples 'a working graphql query' do
include GraphqlHelpers
it 'returns a successful response', :aggregate_failures do
expect(response).to have_gitlab_http_status(:success)
expect(graphql_errors).to be_nil
expect(json_response.keys).to include('data')
end
end
|