]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/issues_controller_test.rb
Moved strings to locales + Added 'Issues' button + Fixed typo in tests
[rails.git] / test / controllers / issues_controller_test.rb
index a8ee6f613c78a66004591be791201a89edabd939..6eacac11da27efbd9f723a0dd51a4f55e0918ad2 100644 (file)
@@ -20,7 +20,7 @@ class IssuesControllerTest < ActionController::TestCase
     assert_response :success
     assert_difference "Issue.count",1 do 
       details = "Details of a report"
-      post :create, { :report => { :deatils => details},
+      post :create, { :report => { :details => details},
                       :issue => { reportable_id: 1, reportable_type: "DiaryEntry", reported_user_id: 1} }
     end
     assert_response :redirect