aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/scoping
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-02-27 19:32:40 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-02-27 19:32:40 +0900
commit672c6cad78b102f5736f7a76ebe616e1e47ef557 (patch)
tree5a56b54a8ab4038f9459c15fe74e258797984004 /activerecord/test/cases/scoping
parent44556a60c315ef4c927733e86f6ddef0a207a5cb (diff)
downloadrails-672c6cad78b102f5736f7a76ebe616e1e47ef557.tar.gz
rails-672c6cad78b102f5736f7a76ebe616e1e47ef557.tar.bz2
rails-672c6cad78b102f5736f7a76ebe616e1e47ef557.zip
Fix indentation [ci skip]
Diffstat (limited to 'activerecord/test/cases/scoping')
-rw-r--r--activerecord/test/cases/scoping/default_scoping_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/scoping/default_scoping_test.rb b/activerecord/test/cases/scoping/default_scoping_test.rb
index b9e6f55eac..e7bdab58c6 100644
--- a/activerecord/test/cases/scoping/default_scoping_test.rb
+++ b/activerecord/test/cases/scoping/default_scoping_test.rb
@@ -418,8 +418,8 @@ class DefaultScopingTest < ActiveRecord::TestCase
end
def test_unscoped_with_joins_should_not_have_default_scope
- assert_equal Comment.joins(:post).sort_by(&:id),
- SpecialPostWithDefaultScope.unscoped { Comment.joins(:special_post_with_default_scope).sort_by(&:id) }
+ assert_equal Comment.joins(:post).sort_by(&:id),
+ SpecialPostWithDefaultScope.unscoped { Comment.joins(:special_post_with_default_scope).sort_by(&:id) }
end
def test_sti_association_with_unscoped_not_affected_by_default_scope