choose I18n.t("reports.categories.DiaryEntry.spam")
fill_in "report_details", :with => "This is advertising"
- click_on "Save changes"
+ click_on "Create Report"
assert page.has_content? "Your report has been registered sucessfully"
end
choose I18n.t("reports.categories.DiaryEntry.spam")
fill_in "report_details", :with => "This is advertising"
- click_on "Save changes"
+ click_on "Create Report"
issue.reload
assert !issue.resolved?