This commit is contained in:
erwanlr
2018-11-02 13:40:46 +00:00
parent 9d3464055a
commit fb751c0a51
2 changed files with 7 additions and 5 deletions

View File

@@ -97,9 +97,9 @@ module WebMock
end
# rubocop:enabled all
SPECS = Pathname.new(__FILE__).dirname.to_s
FIXTURES = File.join(SPECS, 'fixtures')
FINDERS_FIXTURES = File.join(FIXTURES, 'finders')
DYNAMIC_FINDERS_FIXTURES = File.join(FIXTURES, 'dynamic_finders')
SPECS = Pathname.new(__FILE__).dirname
FIXTURES = SPECS.join('fixtures')
FINDERS_FIXTURES = FIXTURES.join('finders')
DYNAMIC_FINDERS_FIXTURES = FIXTURES.join('dynamic_finders')
redefine_constant(:DB_DIR, File.join(FIXTURES, 'db'))
redefine_constant(:DB_DIR, FIXTURES.join('db'))