mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
require yaml where its used, instead of in gemspec.
This commit is contained in:
parent
4473e47f1a
commit
f2c613d7e4
3 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
require 'active_record'
|
||||
require 'database_cleaner/generic/base'
|
||||
require 'erb'
|
||||
require 'yaml'
|
||||
|
||||
module DatabaseCleaner
|
||||
module ActiveRecord
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
require 'ohm'
|
||||
require 'database_cleaner/ohm/truncation'
|
||||
require 'yaml'
|
||||
|
||||
module OhmTests
|
||||
class Widget < ::Ohm::Model
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
require 'redis'
|
||||
require 'database_cleaner/redis/truncation'
|
||||
require 'yaml'
|
||||
|
||||
RSpec.describe DatabaseCleaner::Redis::Truncation do
|
||||
around do |example|
|
||||
|
|
Loading…
Reference in a new issue