mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 04:58:29 +02:00
Corrected test errors
This commit is contained in:
parent
ec203df164
commit
edc4162f71
2 changed files with 3 additions and 0 deletions
|
@ -96,5 +96,7 @@ module DomainNameRegistry
|
||||||
config.active_record.belongs_to_required_by_default = false
|
config.active_record.belongs_to_required_by_default = false
|
||||||
|
|
||||||
config.action_dispatch.trusted_proxies = %w(127.0.0.1/32).map { |proxy| IPAddr.new(proxy) }
|
config.action_dispatch.trusted_proxies = %w(127.0.0.1/32).map { |proxy| IPAddr.new(proxy) }
|
||||||
|
|
||||||
|
config.active_record.yaml_column_permitted_classes = [Symbol, Date, Time]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -10,6 +10,7 @@ class PaperTrailLearningTest < ActiveSupport::TestCase
|
||||||
t.string :title
|
t.string :title
|
||||||
|
|
||||||
# Otherwise `touch` fails silently
|
# Otherwise `touch` fails silently
|
||||||
|
t.datetime :created_at
|
||||||
t.datetime :updated_at
|
t.datetime :updated_at
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue