diff options
author | José Valim <jose.valim@gmail.com> | 2011-05-04 11:26:02 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-05-04 11:28:37 +0200 |
commit | 6afc900191c8edc6f41966827e1cd03ced3f1b17 (patch) | |
tree | 9b1e65ffc67052c455ab5c5b98c90d888abd90a3 /actionpack/test | |
parent | d9c39c3ae9aa9d0f50a4b557781be39e39e5b752 (diff) | |
download | rails-6afc900191c8edc6f41966827e1cd03ced3f1b17.tar.gz rails-6afc900191c8edc6f41966827e1cd03ced3f1b17.tar.bz2 rails-6afc900191c8edc6f41966827e1cd03ced3f1b17.zip |
Move prefixes to view paths as they are now a lookup context dependency.
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/template/test_case_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/test/template/test_case_test.rb b/actionpack/test/template/test_case_test.rb index 11c355dc6d..cd4618a505 100644 --- a/actionpack/test/template/test_case_test.rb +++ b/actionpack/test/template/test_case_test.rb @@ -73,6 +73,10 @@ module ActionView view.request.flash.expects(:alert).with("this message") view.alert("this message") end + + test "uses controller lookup context" do + assert_equal self.lookup_context, @controller.lookup_context + end end class ClassMethodsTest < ActionView::TestCase |