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:
parent
9a32c5f645
commit
19639c7184
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue