diff options
author | Marcel Molina <marcel@vernix.org> | 2005-12-26 19:40:14 +0000 |
---|---|---|
committer | Marcel Molina <marcel@vernix.org> | 2005-12-26 19:40:14 +0000 |
commit | 0b55ce7191b167d67ec7ccc7eb8db2e5fac4f2e1 (patch) | |
tree | 59ec3f1b3cbbb241c95d468a81e17f2662b0da7b /actionpack/test | |
parent | 839f03b7d0ae9d9ff49cc777488630253186b184 (diff) | |
download | rails-0b55ce7191b167d67ec7ccc7eb8db2e5fac4f2e1.tar.gz rails-0b55ce7191b167d67ec7ccc7eb8db2e5fac4f2e1.tar.bz2 rails-0b55ce7191b167d67ec7ccc7eb8db2e5fac4f2e1.zip |
Value of full_messages on stubbed out AR instances should be an Array.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/action_pack_assertions_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/action_pack_assertions_test.rb b/actionpack/test/controller/action_pack_assertions_test.rb index 6d5ade98bf..ed4ed7ca62 100644 --- a/actionpack/test/controller/action_pack_assertions_test.rb +++ b/actionpack/test/controller/action_pack_assertions_test.rb @@ -87,7 +87,7 @@ class ActionPackAssertionsController < ActionController::Base def errors Class.new do - def full_messages; '...stuff...'; end + def full_messages; []; end end.new end @@ -106,7 +106,7 @@ class ActionPackAssertionsController < ActionController::Base def errors Class.new do - def full_messages; '...stuff...'; end + def full_messages; ['...stuff...']; end end.new end end.new |