Commit ac4df1c4 authored by MARGERY David's avatar MARGERY David
Browse files

Require bundled gems and use implicit config

for factory_bot
parent 9eb2e5d3
......@@ -20,7 +20,7 @@ require "action_controller/railtie"
if defined?(Bundler)
# If you precompile assets before deploying to production, use this line
#Bundler.require(*Rails.groups(:assets => %w(development test)))
Bundler.require *Rails.groups(:assets => %w(development test))
# If you want your assets lazily compiled in production, use this line
# Bundler.require(:default, :assets, Rails.env)
end
......@@ -54,7 +54,7 @@ module Api
# config.middleware.delete ActionDispatch::ShowExceptions
config.generators do |g|
g.fixture_replacement :factory_bot, :dir => "spec/factories"
g.test_framework :rspec
end
config.time_zone = 'UTC'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment