diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-04 00:09:24 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-04 00:09:24 +0300 |
commit | 9432ed811233643af1cb5ad78e2cd9755ed989a9 (patch) | |
tree | a6f4d254ebd818a58017b3bfb0911f4aae169fcf /spec/frontend/fixtures/pipeline_schedules.rb | |
parent | 44434461b3c58336624125b5ab002e7200e4a208 (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.rb | 9 |
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 |