1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

remove trailing whitespace added with b057765 [ci skip].

This commit is contained in:
Yves Senn 2013-10-21 17:25:25 +02:00
parent 9a32c5f645
commit 19639c7184

View file

@ -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