undo changes in test env that break travis builds
This commit is contained in:
parent
e5c1d3ebf1
commit
c9cb792592
|
@ -11,7 +11,7 @@ module Impressionist
|
||||||
# expects attr_accessible to return true
|
# expects attr_accessible to return true
|
||||||
# and pass 12 arguments
|
# and pass 12 arguments
|
||||||
mock.
|
mock.
|
||||||
expect(:attr_accessible, true) do |*args|
|
expect(:attr_accessible, true) do |args|
|
||||||
args.size == 12
|
args.size == 12
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ TestApp::Application.configure do
|
||||||
config.action_dispatch.best_standards_support = :builtin
|
config.action_dispatch.best_standards_support = :builtin
|
||||||
|
|
||||||
# Raise exception on mass assignment protection for Active Record models
|
# Raise exception on mass assignment protection for Active Record models
|
||||||
# config.active_record.mass_assignment_sanitizer = :strict
|
config.active_record.mass_assignment_sanitizer = :strict
|
||||||
|
|
||||||
# Log the query plan for queries taking more than this (works
|
# Log the query plan for queries taking more than this (works
|
||||||
# with SQLite, MySQL, and PostgreSQL)
|
# with SQLite, MySQL, and PostgreSQL)
|
||||||
|
|
|
@ -30,7 +30,7 @@ TestApp::Application.configure do
|
||||||
config.action_mailer.delivery_method = :test
|
config.action_mailer.delivery_method = :test
|
||||||
|
|
||||||
# Raise exception on mass assignment protection for Active Record models
|
# Raise exception on mass assignment protection for Active Record models
|
||||||
# config.active_record.mass_assignment_sanitizer = :strict
|
config.active_record.mass_assignment_sanitizer = :strict
|
||||||
|
|
||||||
# Print deprecation notices to the stderr
|
# Print deprecation notices to the stderr
|
||||||
config.active_support.deprecation = :stderr
|
config.active_support.deprecation = :stderr
|
||||||
|
|
Loading…
Reference in New Issue