Browse files

added :order to find :all as otherwise Oracle tests were failing

  • Loading branch information...
1 parent c3e1ef0 commit 42fd2a3b162e8f93e9c39b07253561bde3c00e35 @rsim rsim committed Mar 22, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 activerecord/test/cases/inheritance_test.rb
@@ -137,7 +137,8 @@ def test_alt_finding_incorrect_type_data
def test_update_all_within_inheritance
Client.update_all "name = 'I am a client'"
assert_equal "I am a client", Client.find(:all)
- assert_equal "37signals", Firm.find(:all)
+ # Order by added as otherwise Oracle tests were failing because of different order of results
+ assert_equal "37signals", Firm.find(:all, :order => "id")
def test_alt_update_all_within_inheritance

0 comments on commit 42fd2a3

Please sign in to comment.