Moved strings to locales + Added 'Issues' button + Fixed typo in tests
This commit is contained in:
parent
d5f02968f6
commit
cf4cfc530a
10 changed files with 83 additions and 31 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue