click_on "Create Report"
end
- assert page.has_content? "Your report has been registered sucessfully"
+ assert page.has_content? "Your report has been registered successfully"
assert_equal note, Issue.last.reportable
+ assert_equal "moderator", Issue.last.assigned_role
end
def test_can_report_notes_with_author
click_on "Create Report"
end
- assert page.has_content? "Your report has been registered sucessfully"
+ assert page.has_content? "Your report has been registered successfully"
assert_equal note, Issue.last.reportable
+ assert_equal "moderator", Issue.last.assigned_role
end
end