mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Move Rails.application.config into configure block for test rails app.
This commit is contained in:
@@ -6,6 +6,8 @@ module ActiveModelSerializers
|
||||
config.active_support.test_order = :random
|
||||
config.action_controller.perform_caching = true
|
||||
config.action_controller.cache_store = :memory_store
|
||||
|
||||
config.filter_parameters += [:password]
|
||||
end
|
||||
|
||||
app.routes.default_url_options = { host: 'example.com' }
|
||||
|
||||
Reference in New Issue
Block a user