summaryrefslogtreecommitdiff
path: root/engines/support/test
AgeCommit message (Collapse)Author
2017-12-08upgrade: factory_girl -> factory_botAzul
2017-03-23fix: keep ticket submit button clickableAzul
It was marked as submitted even when client side validations interfered. fixes github issue #227
2017-03-22upgrade: bundleAzul
update all the dependencies. minitest now wants assert_nil instead of assert_equal nil, ... braintree now uses update_attributes rather than save.
2016-11-21bugfix: handle missing params for ticket gracefullyAzul
This used to trigger a 500. Fixes #8395
2016-05-23Merge remote-tracking branch 'pr/220' into developAzul
2016-05-22make ticket tests pass without network connectionAzul
MX validations relied on network connection. Only using them in production environment now. I want to be able to develop and test when disconnected.
2016-05-20include engine tests in default testAzul
2016-05-14ensure 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. Conflicts: app/views/layouts/_content.html.haml
2016-05-02upgrade: remove references to RestClientAzul
CouchRest > 1.2 does not use RestClient anymore. So we should not try to catch its errors.
2015-09-28Fix the remaining failures/errors in our testsankonym
Handing freshly generated invite codes to Factory Girl to make the tests pass
2015-09-28Fix several test failures by stubbing invite code validationankonym
2015-09-28Fix test based on actual invite code validationankonym
2015-05-22fix failing testelijah
2015-04-30added support for email notifications of ticket changeselijah
2014-07-14clean up and simplify error responses and test codeAzul
2014-07-12minor: fix typo in load_viewsAzul
It removed most of the reduce functions... really not what we wanted
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-07-09minor: cleanup some linksAzul
only submit the params that differ from the defaults
2014-07-09stay on all tickets view when sorting (#5879)Azul
When an admin sorted the tickets view in a different order it would take them to their own tickets list before
2014-07-09minor: remove dummy dependency in engine test_helpersAzul
This was causing problems with zeus
2014-06-03tickets: fix bug that allow index of other userselijah
2014-05-29adopt tests to new translationsAzul
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-05-13prefill ticket form from the model - fixes #5657Azul
email and regarding user fields can be set to defaults based on created_by user. If these fields are emptied by the submitting user they will be set to whereas they are nil if they have not been initialized. In that case we will use meaningful defaults from the user who created the ticket.
2014-05-13keep empty email field if user removed prefillAzul
We should respect the users choice. We can still get their email from the user id if we really need to.
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