summaryrefslogtreecommitdiff
path: root/engines/support/test/functional/tickets_controller_test.rb
AgeCommit message (Collapse)Author
2017-12-08upgrade: factory_girl -> factory_botAzul
2016-11-21bugfix: handle missing params for ticket gracefullyAzul
This used to trigger a 500. Fixes #8395
2016-05-13ensure invalid user ids still render the ticket formAzul
We still have strange urls requested like /pt/users/AnonymousUser.../tickets/new Not sure where they are coming from - but this should make sure we respond with sth. meaningful instead of erroring out.
2014-07-14clean up and simplify error responses and test codeAzul
2014-07-09adopt ticket list test to new behaviourAzul
We completely ingnore the user_id param for non admins now. So if someone tries to show somebody elses tickets they will see their own instead.
2014-06-03tickets: fix bug that allow index of other userselijah
2014-05-26split up and refactor TicketController#updateAzul
close and open actions for plain opening and closing the tickets respond_with so fields are not cleared on invalid update the custom actions are not strictly restful. But adding a subresource felt like too much overhead and is conceptually hard to grasp (so we destroy the openess of the ticket to close it?).
2014-05-26separate tests for the ticket list from main controller testAzul
2014-05-26splitting up long functional test caseAzul
2014-05-26move comment related tests out of TicketControllerTestAzul
This controller does too much - so the tests are also getting large and hard to keep track of
2014-05-13adjust tests to new config and method implementationAzul
Ticket.is_creator_vlidated? now actually fetches the user from the db and returns false if it does not exist.
2014-04-24add tests for invalid ticket creationAzul
2014-04-11move engines into engines directoryAzul
Also renamed help to support so it's harder to confuse it with documentation