Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix bad merge

  • Loading branch information...
commit 84908bbde97ef70b09aca4937793052422bc06ed 1 parent 325c9d5
@tenderlove tenderlove authored
Showing with 0 additions and 15 deletions.
  1. +0 −15 actionview/test/activerecord/polymorphic_routes_test.rb
View
15 actionview/test/activerecord/polymorphic_routes_test.rb
@@ -242,21 +242,6 @@ def test_new_record_arguments
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
Please sign in to comment.
Something went wrong with that request. Please try again.