aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/view
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/view')
-rw-r--r--actionpack/test/view/test_case_test.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/actionpack/test/view/test_case_test.rb b/actionpack/test/view/test_case_test.rb
new file mode 100644
index 0000000000..9124198b28
--- /dev/null
+++ b/actionpack/test/view/test_case_test.rb
@@ -0,0 +1,8 @@
+require 'abstract_unit'
+
+class TestCaseTest < ActionView::TestCase
+ def test_should_have_current_url
+ controller = TestController.new
+ assert_nothing_raised(NoMethodError){ controller.url_for({:controller => "foo", :action => "index"}) }
+ end
+end