Sha256: a40df5d0530c3ab614d682aab0411336d75dcb90424e8dbf30cca0a8cb0e71bf

Contents?: true

Size: 372 Bytes

Versions: 2

Compression:

Stored size: 372 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
          Grumlin.config.default_pool.close
          Grumlin.config.reset!
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
grumlin-0.4.0 lib/grumlin/test/rspec/gremlin_context.rb
grumlin-0.3.0 lib/grumlin/test/rspec/gremlin_context.rb