require yaml where its used, instead of in gemspec.

This commit is contained in:
Micah Geisel 2020-01-20 18:36:28 -08:00
parent 4473e47f1a
commit f2c613d7e4
3 changed files with 3 additions and 0 deletions

View file

@ -1,6 +1,7 @@
require 'active_record'
require 'database_cleaner/generic/base'
require 'erb'
require 'yaml'
module DatabaseCleaner
module ActiveRecord

View file

@ -1,5 +1,6 @@
require 'ohm'
require 'database_cleaner/ohm/truncation'
require 'yaml'
module OhmTests
class Widget < ::Ohm::Model

View file

@ -1,5 +1,6 @@
require 'redis'
require 'database_cleaner/redis/truncation'
require 'yaml'
RSpec.describe DatabaseCleaner::Redis::Truncation do
around do |example|