diff options
author | José Valim <jose.valim@gmail.com> | 2010-09-27 21:33:03 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-09-27 21:33:03 +0200 |
commit | 8be911c698aadd389b1607b4dbcea47001761536 (patch) | |
tree | 837fc3d03fd74a5043160aab9224888ca70de12c /activeresource/test/cases/finder_test.rb | |
parent | 8aa3684e07db81244c61c9ac98347831a976666b (diff) | |
parent | f85b38a36b68488e94e9950fd15ec29a21bf6917 (diff) | |
download | rails-8be911c698aadd389b1607b4dbcea47001761536.tar.gz rails-8be911c698aadd389b1607b4dbcea47001761536.tar.bz2 rails-8be911c698aadd389b1607b4dbcea47001761536.zip |
Merge remote branch 'gramos/ares-missing-prefix-value'
Diffstat (limited to 'activeresource/test/cases/finder_test.rb')
-rw-r--r-- | activeresource/test/cases/finder_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activeresource/test/cases/finder_test.rb b/activeresource/test/cases/finder_test.rb index fd09ef46d7..ebb783996d 100644 --- a/activeresource/test/cases/finder_test.rb +++ b/activeresource/test/cases/finder_test.rb @@ -84,7 +84,7 @@ class FinderTest < Test::Unit::TestCase def test_find_by_id_not_found assert_raise(ActiveResource::ResourceNotFound) { Person.find(99) } - assert_raise(ActiveResource::ResourceNotFound) { StreetAddress.find(1) } + assert_raise(ActiveResource::ResourceNotFound) { StreetAddress.find(99, :params => {:person_id => 1}) } end def test_find_all_sub_objects |