aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/scoping
diff options
context:
space:
mode:
authorKir Shatrov <shatrov@me.com>2017-07-09 20:41:28 +0300
committerKir Shatrov <shatrov@me.com>2017-07-19 22:27:07 +0300
commit831be98f9a6685da3410b0c9bf4143bd8dd647af (patch)
tree986057c19536bc2aafab76ab12c00245b9289b73 /activerecord/test/cases/scoping
parent526d4b8dc816c17e354e2e0243af16d10147c3f0 (diff)
downloadrails-831be98f9a6685da3410b0c9bf4143bd8dd647af.tar.gz
rails-831be98f9a6685da3410b0c9bf4143bd8dd647af.tar.bz2
rails-831be98f9a6685da3410b0c9bf4143bd8dd647af.zip
Use frozen-string-literal in ActiveRecord
Diffstat (limited to 'activerecord/test/cases/scoping')
-rw-r--r--activerecord/test/cases/scoping/default_scoping_test.rb2
-rw-r--r--activerecord/test/cases/scoping/named_scoping_test.rb2
-rw-r--r--activerecord/test/cases/scoping/relation_scoping_test.rb2
3 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/test/cases/scoping/default_scoping_test.rb b/activerecord/test/cases/scoping/default_scoping_test.rb
index a8c79628e7..6f035b594b 100644
--- a/activerecord/test/cases/scoping/default_scoping_test.rb
+++ b/activerecord/test/cases/scoping/default_scoping_test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "cases/helper"
require "models/post"
require "models/comment"
diff --git a/activerecord/test/cases/scoping/named_scoping_test.rb b/activerecord/test/cases/scoping/named_scoping_test.rb
index 483ea7128d..1db7432e34 100644
--- a/activerecord/test/cases/scoping/named_scoping_test.rb
+++ b/activerecord/test/cases/scoping/named_scoping_test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "cases/helper"
require "models/post"
require "models/topic"
diff --git a/activerecord/test/cases/scoping/relation_scoping_test.rb b/activerecord/test/cases/scoping/relation_scoping_test.rb
index 10553bf057..f3b84d88c2 100644
--- a/activerecord/test/cases/scoping/relation_scoping_test.rb
+++ b/activerecord/test/cases/scoping/relation_scoping_test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "cases/helper"
require "models/post"
require "models/author"