Sha256: 3fce388f4e1f82b5cc98dd52ef6df49930fc386b9242b855b939b346cd470ca7

Contents?: true

Size: 442 Bytes

Versions: 56

Compression:

Stored size: 442 Bytes

Contents

# frozen_string_literal: true

require "spec_helper"

describe GraphQL::Tracing::ScoutTracing do
  class ScoutApm
    module Tracer
    end
  end

  describe "Initializing" do
    it "should include the module only after initilization" do
      refute GraphQL::Tracing::ScoutTracing.included_modules.include?(ScoutApm::Tracer)
      assert GraphQL::Tracing::ScoutTracing.new.class.included_modules.include?(ScoutApm::Tracer)
    end
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

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