]> git.openstreetmap.org Git - rails.git/commitdiff
Removed extension from assert_template calls
authorTom Hughes <tom@compton.nu>
Tue, 7 Dec 2010 21:57:20 +0000 (21:57 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 14 Nov 2011 09:42:47 +0000 (09:42 +0000)
test/integration/user_creation_test.rb

index fd00f4d7114902d7d9d9af22d7383ee9e83142f5..c9b71e3ca71d36386a427668d3e2b5bf69bfd79f 100644 (file)
@@ -133,7 +133,7 @@ class UserCreationTest < ActionController::IntegrationTest
     assert_response :redirect # but it not redirects to /user/<display_name>/traces
     follow_redirect!
     assert_response :success
-    assert_template "trace/list.html.erb"
+    assert_template 'trace/list'
   end
 
   def test_user_create_openid_success
@@ -228,6 +228,6 @@ class UserCreationTest < ActionController::IntegrationTest
     assert_response :redirect # but it not redirects to /user/<display_name>/traces
     follow_redirect!
     assert_response :success
-    assert_template "trace/list.html.erb"
+    assert_template "trace/list"
   end
 end