aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/scoping
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-10-21 17:25:25 +0200
committerYves Senn <yves.senn@gmail.com>2013-10-21 17:25:25 +0200
commit19639c7184bf40054dcedbbfe00eff164abf133f (patch)
tree4f1bfbee23154bd8755ef0ec9a68d1e159fb667b /activerecord/test/cases/scoping
parent9a32c5f64576483dd22540d26aacdd695e05b285 (diff)
downloadrails-19639c7184bf40054dcedbbfe00eff164abf133f.tar.gz
rails-19639c7184bf40054dcedbbfe00eff164abf133f.tar.bz2
rails-19639c7184bf40054dcedbbfe00eff164abf133f.zip
remove trailing whitespace added with b057765 [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 526f7a8c25..76f395ba83 100644
--- a/activerecord/test/cases/scoping/default_scoping_test.rb
+++ b/activerecord/test/cases/scoping/default_scoping_test.rb
@@ -133,11 +133,11 @@ class DefaultScopingTest < ActiveRecord::TestCase
expected_3 = Developer.order('salary DESC').collect(&:name)
received_3 = DeveloperOrderedBySalary.select("id").where("name" => "Jamis").unscope(:select, :where).collect(&:name)
assert_equal expected_3, received_3
-
+
expected_4 = Developer.order('salary DESC').collect(&:name)
received_4 = DeveloperOrderedBySalary.where.not("name" => "Jamis").unscope(where: :name).collect(&:name)
assert_equal expected_4, received_4
-
+
expected_5 = Developer.order('salary DESC').collect(&:name)
received_5 = DeveloperOrderedBySalary.where.not("name" => ["Jamis", "David"]).unscope(where: :name).collect(&:name)
assert_equal expected_5, received_5