Sha256: c12be82f8e303247da8a7064a08c768ff673a70c852f096e6d359199f781236d

Contents?: true

Size: 313 Bytes

Versions: 15

Compression:

Stored size: 313 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.E.drop.iterate
          g.V.drop.iterate
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
grumlin-0.23.0 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.22.5 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.22.4 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.22.3 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.22.2 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.22.1 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.22.0 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.21.1 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.21.0 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.20.2 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.20.1 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.20.0 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.19.7 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.19.6 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.19.5 lib/grumlin/test/rspec/db_cleaner_context.rb