Skip to content
Snippets Groups Projects

Add support for querying epics with GraphQL

Merged Brett Walker requested to merge 10795-add-epic-tree-BE-epic-graphql-support into master
All threads resolved!
1 file
+ 12
0
Compare changes
  • Side-by-side
  • Inline
@@ -64,6 +64,12 @@
create(:ci_build, :failed, pipeline: pipeline)
end
it 'does not serialize stage builds' do
subject.with_indifferent_access.dig(:details, :stages, 0).tap do |stage|
expect(stage).not_to include(:groups, :latest_statuses, :retries)
end
end
context 'user has ability to retry pipeline' do
before do
project.add_developer(user)
@@ -92,6 +98,12 @@
create(:ci_build, :pending, pipeline: pipeline)
end
it 'does not serialize stage builds' do
subject.with_indifferent_access.dig(:details, :stages, 0).tap do |stage|
expect(stage).not_to include(:groups, :latest_statuses, :retries)
end
end
context 'user has ability to cancel pipeline' do
before do
project.add_developer(user)
Loading