Sha256: 05ea6eadb89f1beffb09ba911ba575af453690c10c781c1db273efa485b1df5c

Contents?: true

Size: 448 Bytes

Versions: 1

Compression:

Stored size: 448 Bytes

Contents

# frozen_string_literal: true

module Grumlin
  module Test
    module RSpec
      module GremlinContext
      end

      ::RSpec.shared_context GremlinContext do
        include GremlinContext

        let(:g) { Grumlin::Traversal.new }

        after do
          expect(Grumlin.config.default_client.requests).to be_empty
          Grumlin.config.default_client.disconnect
          Grumlin.config.reset!
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
grumlin-0.2.0 lib/grumlin/test/rspec/gremlin_context.rb