summaryrefslogtreecommitdiff
path: root/test/unit/node_test.rb
AgeCommit message (Collapse)Author
6 daysRails 5.2 test updateserdgeist
- Rename test/functional → test/controllers, test/unit → test/models - Remove test/performance/browsing_test.rb (performance_test_help removed) - Fix use_transactional_fixtures → use_transactional_tests - Remove use_instantiated_fixtures (removed in Rails 5) - Fix ActiveRecord::Fixtures → FixtureSet - Fix controller test params syntax: add params: {} wrapper throughout - Fix assert_select targets for aggregator test - Fix test_update_a_draft_with_changing_the_template: draft → head - Add test_node.reload after children.create! (awesome_nested_set bug) - Add before/after count pattern for create tests (transactional isolation) - Known failures: 5 tests affected by Rails 5 transactional test isolation
2009-11-17don't set the published_at upon creation of the first draft but rather on publishhukl
2009-11-15removed date and author from the standard template and introduced a dedicated update template which will get auto assigned if a node is created under ↵hukl
updates/<year>/<slug> Added tests and convenient method
2009-11-14Just a test that only one root node can be created. Closes #32hukl
2009-10-20allow to overwrite the original user in edit viewhukl
2009-10-17added some more validations to ensure data integrity and applied necessary changes on testshukl
2009-09-09uhm yeah - well it was finally time to validate the uniqueness of slugs scoped to the parent_id. Who though it wasn't there already?hukl
2009-09-04fixed test - checking for new lock exceptionhukl
2009-07-18Test::Unit Fixtures can't handle globalize2's translated attributes which is why its impossible to set translated attributes via fixtures. Therefor I ↵hukl
removed the page fixtures entirely and and made sure that a title is set to "Untitled" when it is not specified otherwise. If a new node is created, its initial draft has "Untitled" set as title automatically. Modified tests accordingly
2009-04-18adding "restore_revision" functionality to the backendhukl
2009-03-28renamed the user association on nodes to lock_owner as it is more specific for its purposehukl
2009-03-21put the lock onto nodeshukl
2009-03-01refactored drafts which are now identified by a draft_id on the node rather than by guessing it. i was really that close to make that mistake again.hukl
2009-02-27100% test coverage for node modelhukl
2009-02-21cloning now with all the translations. test addedhukl
2009-02-19proper users - yippieh!hukl
2009-02-08lots of concept refinementshukl
2009-02-08refactored refined concept of nodes and pages intohukl
the node model
2009-02-07added head id to node model which points to thehukl
head of the nodes pages collection. modified tests, importer etc renamed flags to tags
2009-02-01added test for retrieving a specific revision via hukl
a given node. turned out it wasn't working the way I thought so I rewrote it to use only Fixnums
2009-01-31additional tests and fixtureshukl
2009-01-31newlineshukl
2009-01-31made sure that returned pages are always ordered hukl
by there revision
2009-01-31connected page and node model + some minor tweakshukl
2009-01-29added node model to make basic functional tests pass. added awesome_nested_set pluginhukl