mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
enabling flatten json as default adapter
This commit is contained in:
@@ -20,7 +20,6 @@ class Foo < Rails::Application
|
||||
config.active_support.test_order = :random
|
||||
config.logger = Logger.new(nil)
|
||||
ActionController::Base.cache_store = :memory_store
|
||||
ActiveModel::Serializer.config.adapter = :flatten_json
|
||||
end
|
||||
end
|
||||
FileUtils.mkdir_p(File.expand_path('../../tmp/cache', __FILE__))
|
||||
|
||||
Reference in New Issue
Block a user