lib/grumlin/test/rspec/db_cleaner_context.rb in grumlin-0.23.0 vs lib/grumlin/test/rspec/db_cleaner_context.rb in grumlin-1.0.0.rc1

- old
+ new

@@ -1,19 +1,15 @@ # frozen_string_literal: true -module Grumlin - module Test - module RSpec - module DBCleanerContext - end +module Grumlin::Test::RSpec + module DBCleanerContext + end - ::RSpec.shared_context DBCleanerContext do - include DBCleanerContext + ::RSpec.shared_context DBCleanerContext do + include DBCleanerContext - before do - g.E.drop.iterate - g.V.drop.iterate - end - end + before do + g.E.drop.iterate + g.V.drop.iterate end end end