spec/support/contexts.rb in apartment-0.16.0 vs spec/support/contexts.rb in apartment-0.17.0

- old
+ new

@@ -24,11 +24,13 @@ let(:database2) { company2.database } let(:api) { Apartment::Database } before do + Apartment.reset # reset all config Apartment.seed_after_create = false Apartment.use_postgres_schemas = true + api.reload! # reload adapter api.create(database1) api.create(database2) end \ No newline at end of file