summaryrefslogtreecommitdiff
path: root/help/test
AgeCommit message (Collapse)Author
2013-11-06destroy all tickets created by a user when account is destroyedAzul
In order to keep the users engine independent of the tickets engine i added a generic load hook to the account model. The tickets engine then monkeypatches the account destruction and destroys all tickets before the user is destroyed. The tickets are destroyed first so that even if things break there should never be tickets with an outdated user id. I would have prefered to use super over using an alias_method_chain but I have not been able to figure out a way to make account a superclass of the account extension and still refer to Account from the users engine.
2013-11-06Ticket.destroy_all_from(user) - remove all tickets created by a userAzul
We'll use this to clean up after user destruction
2013-11-06refactor: split up and cleaned up ticket validation testsAzul
2013-09-03remove unneccessary user creation and destruction in ticket testAzul
2013-07-04fix ticket tests, get :admin_user factory to work.elijah
2013-02-05Tweaks because user attribute is now email_address, not emailjessib
2013-01-14minor: further cleanup - try to leave no record behindAzul
2013-01-14little bit of cleanupAzul
* checking records are actually getting created / destroyed * simplify creation where possible
2013-01-14forgot to include the factory for ticketsAzul
2013-01-14tickets controller tests passingAzul
2012-12-18Refactoring of code to filter/order tickets.jessib
2012-12-17Change comments to reflect changes to functional tests for tickets.jessib
2012-12-17split up and fixed ticket functional testsAzul
2012-12-17small fix to the tickets functional testAzul
2012-12-07Added reduce functions, so pagination should now work correctly. This also ↵jessib
removes the need for .all call in some tests.
2012-12-07More tests of retrieving index of tickets, for admins and non-admin ↵jessib
authenticated users.
2012-12-07Merge branch 'master' into help_developjessib
Conflicts: app/views/layouts/application.html.haml help/app/controllers/tickets_controller.rb help/test/functional/tickets_controller_test.rb users/test/support/stub_record_helper.rb
2012-12-04A test of ordering of tickets.jessib
2012-12-04Testing of functionality to retrieve tickets.jessib
2012-12-03make tests pass on an empty dbAzul
2012-12-01using login :is_admin => true instead of real recordsAzul
Travis CI does not seem to have the admin user records. Let's not depend on them and just stub the admin user.
2012-11-29Not yet done, but more sophisticated and refactored ticket filtering. Still ↵jessib
have to do more, including allowing user to pick sort order.
2012-11-27test changes that will fail, but should fail until we fix model.jessib
2012-11-27fixed some small issues and the tests except oneAzul
The one remaining is failing because we still build an Array for the admin tickets. Needs to be implemented so I am leaving that test as is.
2012-11-27testing Ticket#by_commented_byAzul
2012-11-27first attempts to map commentsAzul
2012-11-15Some more ticket tests.jessib
2012-11-14Improvements to functional ticket tests.jessib
2012-11-12Some test improvements.jessib
2012-11-12Merge branch 'develop' into help_developjessib
Conflicts: help/test/functional/tickets_controller_test.rb users/test/functional/application_controller_test.rb users/test/support/auth_test_helper.rb
2012-11-12some notes to test that aren't working now.jessib
2012-11-04using new login helper and cleaning up test a bitAzul
2012-10-18Uses the working authentication code.jessib
2012-10-16Some functional tests and other tweaks.jessib
2012-10-08Merge branch 'release-0.1.0' into help_developjessib
Conflicts: .gitignore
2012-10-08use couchrest session store in core, updated dummy pathAzul
2012-10-05Rough code to add & comment on tickets.jessib
2012-10-03Some model/unit test tweaksjessib
2012-10-02Some more tweaks to help ticket models. Still want to tweak current_user ↵jessib
access from users engine.
2012-10-01Moving start to help engine to live within leap_web repo rather than ↵jessib
independent engine repo.