blob: e6cd70c287ea2f76cd72e50535c19f89bad2fd51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Types::Ci::TestCaseType do
specify { expect(described_class.graphql_name).to eq('TestCase') }
it 'contains attributes related to a pipeline test case' do
expected_fields = %w[
name status classname file attachment_url execution_time stack_trace system_output recent_failures
]
expect(described_class).to have_graphql_fields(*expected_fields)
end
end
|