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 user, Issue.last.reportable
assert_equal "moderator", Issue.last.assigned_role
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 user, Issue.last.reportable
assert_equal "moderator", Issue.last.assigned_role
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 user, Issue.last.reportable
assert_equal "administrator", Issue.last.assigned_role