Permalink
Browse files

Merge pull request #6193 from mhfs/fix_oracle_spec

Fix failing AR test on Oracle
  • Loading branch information...
2 parents 7be33fe + eea9777 commit 871b1c2115182e7273b75b76518733374a9883b3 @rafaelfranca rafaelfranca committed May 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/relation_scoping_test.rb
@@ -84,7 +84,7 @@ def test_scoped_find_select
def test_scope_select_concatenates
Developer.select("id, name").scoping do
- developer = Developer.select('id, salary').where("name = 'David'").first
+ developer = Developer.select('salary').where("name = 'David'").first
assert_equal 80000, developer.salary
assert developer.has_attribute?(:id)
assert developer.has_attribute?(:name)

0 comments on commit 871b1c2

Please sign in to comment.