From 84908bbde97ef70b09aca4937793052422bc06ed Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Mon, 12 May 2014 18:08:41 -0700 Subject: fix bad merge --- actionview/test/activerecord/polymorphic_routes_test.rb | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'actionview/test') diff --git a/actionview/test/activerecord/polymorphic_routes_test.rb b/actionview/test/activerecord/polymorphic_routes_test.rb index f6ff3069f8..fef27ef492 100644 --- a/actionview/test/activerecord/polymorphic_routes_test.rb +++ b/actionview/test/activerecord/polymorphic_routes_test.rb @@ -242,21 +242,6 @@ class PolymorphicRoutesTest < ActionController::TestCase end end - def test_new_record_arguments - params = nil - extend Module.new { - define_method("projects_url") { |*args| - params = args - super(*args) - } - } - - with_test_routes do - assert_equal "http://example.com/projects", polymorphic_url(@project) - assert_equal [], params - end - end - def test_with_destroyed_record with_test_routes do @project.destroy -- cgit v1.2.3