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-11-04 00:09:24 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-11-04 00:09:24 +0300
commit9432ed811233643af1cb5ad78e2cd9755ed989a9 (patch)
treea6f4d254ebd818a58017b3bfb0911f4aae169fcf /spec/frontend/fixtures/pipeline_schedules.rb
parent44434461b3c58336624125b5ab002e7200e4a208 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/fixtures/pipeline_schedules.rb')
-rw-r--r--spec/frontend/fixtures/pipeline_schedules.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/frontend/fixtures/pipeline_schedules.rb b/spec/frontend/fixtures/pipeline_schedules.rb
index 3b2462a3d31..7725818b3b1 100644
--- a/spec/frontend/fixtures/pipeline_schedules.rb
+++ b/spec/frontend/fixtures/pipeline_schedules.rb
@@ -71,5 +71,14 @@ RSpec.describe 'Pipeline schedules (JavaScript fixtures)' do
expect_graphql_errors_to_be_empty
end
+
+ it "#{fixtures_path}#{get_pipeline_schedules_query}.take_ownership.json" do
+ maintainer = create(:user)
+ project.add_maintainer(maintainer)
+
+ post_graphql(query, current_user: maintainer, variables: { projectPath: project.full_path })
+
+ expect_graphql_errors_to_be_empty
+ end
end
end