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.19.4 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.19.3 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.19.2 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.19.1 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.19.0 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.18.1 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.18.0 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.17.0 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.16.1 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.16.0 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.15.6 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.15.4 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.15.3 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.15.2 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.15.1 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.15.0 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.14.5 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.14.4 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.14.3 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-0.14.2 lib/grumlin/test/rspec/db_cleaner_context.rb