diff options
author | Marcel Molina <marcel@vernix.org> | 2007-12-05 14:31:41 +0000 |
---|---|---|
committer | Marcel Molina <marcel@vernix.org> | 2007-12-05 14:31:41 +0000 |
commit | da5fef45fe259dc47d00c3c52cfa336ade412645 (patch) | |
tree | fc916360d3a096be208e8f5987a9234bb714c7d7 /actionpack/lib/action_controller | |
parent | d64832c0406fcca5c8c8ac52adf3417eb0d27d46 (diff) | |
download | rails-da5fef45fe259dc47d00c3c52cfa336ade412645.tar.gz rails-da5fef45fe259dc47d00c3c52cfa336ade412645.tar.bz2 rails-da5fef45fe259dc47d00c3c52cfa336ade412645.zip |
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
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/test_case.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb index 35aad0d8bf..d81cb5dae3 100644 --- a/actionpack/lib/action_controller/test_case.rb +++ b/actionpack/lib/action_controller/test_case.rb @@ -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 |