When a NonInferrableControllerError is raised, make the proposed fix clearer in the error message. Closes #10199 [danger]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8283 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Marcel Molina 2007-12-05 14:31:41 +00:00
parent d64832c040
commit da5fef45fe
2 changed files with 3 additions and 1 deletions

@ -1,5 +1,7 @@
*SVN*
* When a NonInferrableControllerError is raised, make the proposed fix clearer in the error message. Closes #10199 [danger]
* Update Prototype to 1.6.0.1. [sam]
* Update script.aculo.us to 1.8.0.1. [madrobby]

@ -4,7 +4,7 @@ module ActionController
class NonInferrableControllerError < ActionControllerError
def initialize(name)
super "Unable to determine the controller to test from #{name}. " +
"You'll need to specify it using tests YourController in your " +
"You'll need to specify it using 'tests YourController' in your " +
"test case definition"
end
end