aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/belongs_to_associations_test.rb
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-07-21 14:36:30 -0400
committerGitHub <noreply@github.com>2017-07-21 14:36:30 -0400
commit15ef55efb591e5379486ccf53dd3e13f416564f6 (patch)
treec233d14fb1c4f7e905e1e262954a6b6c9f1aa910 /activerecord/test/cases/associations/belongs_to_associations_test.rb
parent93c9a95e013ba7c77cf381bab9ead4a0de37e128 (diff)
parent56de573131cce08079c30d7631395726104eea1b (diff)
downloadrails-15ef55efb591e5379486ccf53dd3e13f416564f6.tar.gz
rails-15ef55efb591e5379486ccf53dd3e13f416564f6.tar.bz2
rails-15ef55efb591e5379486ccf53dd3e13f416564f6.zip
Merge pull request #29732 from kirs/frozen-activerecord
Use frozen-string-literal in ActiveRecord
Diffstat (limited to 'activerecord/test/cases/associations/belongs_to_associations_test.rb')
-rw-r--r--activerecord/test/cases/associations/belongs_to_associations_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/cases/associations/belongs_to_associations_test.rb b/activerecord/test/cases/associations/belongs_to_associations_test.rb
index a7ac291f23..7e4ded9fc9 100644
--- a/activerecord/test/cases/associations/belongs_to_associations_test.rb
+++ b/activerecord/test/cases/associations/belongs_to_associations_test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "cases/helper"
require "models/developer"
require "models/project"
@@ -215,6 +217,8 @@ class BelongsToAssociationsTest < ActiveRecord::TestCase
remove_column :admin_users, :region_id if column_exists?(:admin_users, :region_id)
drop_table :admin_regions, if_exists: true
end
+
+ Admin::User.reset_column_information
end
def test_natural_assignment