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>2022-01-13 21:16:51 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-01-13 21:16:51 +0300
commitaa072fd68cfe366c0d5968c65e9b42aecb2a75b5 (patch)
treea7b51bab61941464115c84beff0d11ecf2a582ee /spec/features/graphiql_spec.rb
parentbd5ff5cb6553dd8f168b28c97175a63250fe2ab2 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/graphiql_spec.rb')
-rw-r--r--spec/features/graphiql_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/graphiql_spec.rb b/spec/features/graphiql_spec.rb
index 91f53b4bb7c..7729cdaa362 100644
--- a/spec/features/graphiql_spec.rb
+++ b/spec/features/graphiql_spec.rb
@@ -9,7 +9,7 @@ RSpec.describe 'GraphiQL' do
end
it 'has the correct graphQLEndpoint' do
- expect(page.body).to include('var graphQLEndpoint = "/api/graphql";')
+ expect(page.body).to include('<div id="graphiql-container" data-graphql-endpoint-path="/api/graphql"')
end
end
@@ -26,7 +26,7 @@ RSpec.describe 'GraphiQL' do
end
it 'has the correct graphQLEndpoint' do
- expect(page.body).to include('var graphQLEndpoint = "/gitlab/root/api/graphql";')
+ expect(page.body).to include('<div id="graphiql-container" data-graphql-endpoint-path="/gitlab/root/api/graphql"')
end
end
end