Moved strings to locales + Added 'Issues' button + Fixed typo in tests

This commit is contained in:
Shrey 2015-06-07 19:25:09 +05:30 committed by Matt Amos
parent d5f02968f6
commit cf4cfc530a
10 changed files with 83 additions and 31 deletions

View 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