Sha256: 4814b7ed6b21f6b90946a7cc60f9370211e392b974d5670c95133381eed858b6

Contents?: true

Size: 288 Bytes

Versions: 44

Compression:

Stored size: 288 Bytes

Contents

# frozen_string_literal: true

module Grumlin
  module Test
    module RSpec
      module DBCleanerContext
      end

      ::RSpec.shared_context DBCleanerContext do
        include DBCleanerContext

        before do
          g.V().drop.iterate
        end
      end
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
grumlin-0.5.0 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.4.0 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.3.0 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.2.0 lib/grumlin/test/rspec/db_cleaner_context.rb