- assert_response :redirect
- assert_equal 1, Issue.find_by(:reportable_id => target_user.id, :reportable_type => "User").reports.count
+ assert_response :success
+ assert_template :new
+ assert_match(/Please provide the required details/, flash[:notice])
+
+ assert_equal 1, issue.reports.count