diff options
Diffstat (limited to 'spec/graphql/types/ci')
-rw-r--r-- | spec/graphql/types/ci/runner_web_url_edge_spec.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/graphql/types/ci/runner_web_url_edge_spec.rb b/spec/graphql/types/ci/runner_web_url_edge_spec.rb new file mode 100644 index 00000000000..08718df0a5b --- /dev/null +++ b/spec/graphql/types/ci/runner_web_url_edge_spec.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +require 'spec_helper' + +RSpec.describe Types::Ci::RunnerWebUrlEdge do + specify { expect(described_class.graphql_name).to eq('RunnerWebUrlEdge') } + + it 'contains URL attributes' do + expected_fields = %w[edit_url web_url] + + expect(described_class).to include_graphql_fields(*expected_fields) + end +end |