From 0b55ce7191b167d67ec7ccc7eb8db2e5fac4f2e1 Mon Sep 17 00:00:00 2001 From: Marcel Molina Date: Mon, 26 Dec 2005 19:40:14 +0000 Subject: 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 --- actionpack/test/controller/action_pack_assertions_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/test/controller/action_pack_assertions_test.rb') 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 -- cgit v1.2.3