Sha256: d8f376c2d09623320b7eb9a56d40a7d60a40f0a391cb2aeef8f43f677bf1758b

Contents?: true

Size: 306 Bytes

Versions: 58

Compression:

Stored size: 306 Bytes

Contents

# frozen_string_literal: true
require "spec_helper"

describe GraphQL::Relay::Edge do
  it "inspects nicely" do
    connection = OpenStruct.new(parent: "Parent")
    edge = GraphQL::Relay::Edge.new("Node", connection)
    assert_equal '#<GraphQL::Relay::Edge ("Parent" => "Node")>', edge.inspect
  end
end

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
graphql-1.8.18 spec/integration/rails/graphql/relay/edge_spec.rb
graphql-1.9.11 spec/integration/rails/graphql/relay/edge_spec.rb
graphql-1.9.10 spec/integration/rails/graphql/relay/edge_spec.rb
graphql-1.9.9 spec/integration/rails/graphql/relay/edge_spec.rb
graphql-1.9.8 spec/integration/rails/graphql/relay/edge_spec.rb
graphql-1.9.7 spec/integration/rails/graphql/relay/edge_spec.rb
graphql-1.9.6 spec/integration/rails/graphql/relay/edge_spec.rb
graphql-1.9.5 spec/integration/rails/graphql/relay/edge_spec.rb
graphql-1.9.4 spec/integration/rails/graphql/relay/edge_spec.rb
graphql-1.9.3 spec/integration/rails/graphql/relay/edge_spec.rb
graphql-1.9.2 spec/integration/rails/graphql/relay/edge_spec.rb
graphql-1.8.17 spec/integration/rails/graphql/relay/edge_spec.rb
graphql-1.8.16 spec/integration/rails/graphql/relay/edge_spec.rb
graphql-1.9.1 spec/integration/rails/graphql/relay/edge_spec.rb
graphql-1.9.0 spec/integration/rails/graphql/relay/edge_spec.rb
graphql-1.8.15 spec/integration/rails/graphql/relay/edge_spec.rb
graphql-1.9.0.pre4 spec/integration/rails/graphql/relay/edge_spec.rb
graphql-1.8.14 spec/integration/rails/graphql/relay/edge_spec.rb
graphql-1.9.0.pre3 spec/integration/rails/graphql/relay/edge_spec.rb
graphql-1.9.0.pre2 spec/integration/rails/graphql/relay/edge_spec.rb