X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/d5f02968f6f2dd153c74844e818a4d2b2ae24991..cf4cfc530ae54abee7b6a0dccbc9d4603ab35611:/test/controllers/issues_controller_test.rb diff --git a/test/controllers/issues_controller_test.rb b/test/controllers/issues_controller_test.rb index a8ee6f613..6eacac11d 100644 --- a/test/controllers/issues_controller_test.rb +++ b/test/controllers/issues_controller_test.rb @@ -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