Sha256: f8ae0e5482643da48f97f2aa8a0343ad6945845a3155d5927debcdbde5f4cfa3

Contents?: true

Size: 245 Bytes

Versions: 15

Compression:

Stored size: 245 Bytes

Contents

# frozen_string_literal: true

module Grumlin::Test::RSpec
  module DBCleanerContext
  end

  ::RSpec.shared_context DBCleanerContext do
    include DBCleanerContext

    before do
      g.E.drop.iterate
      g.V.drop.iterate
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
grumlin-1.2.0 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-1.1.0 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-1.0.4 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-1.0.3 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-1.0.3.beta1 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-1.0.2 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-1.0.1 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-1.0.0 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-1.0.0.rc7 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-1.0.0.rc6 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-1.0.0.rc5 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-1.0.0.rc4 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-1.0.0.rc3 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-1.0.0.rc2 lib/grumlin/test/rspec/db_cleaner_context.rb
grumlin-1.0.0.rc1 lib/grumlin/test/rspec/db_cleaner_context.rb