summaryrefslogtreecommitdiff
path: root/test/unit
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
8 daysStage 1 complete: Rails 2.3.5 to Rails 3.2.22.5 upgradeerdgeist
- Converted plugins to gems (Gemfile) - Updated config structure (application.rb, boot.rb, environment.rb) - Converted routes to Rails 3 DSL - Converted named_scope to scope throughout models - Converted find(:all, :conditions) to where() chains - Fixed has_many :order to use ordering scope - Updated session store and secret token configuration - Fixed exception_notification middleware configuration - Patched Ruby 2.4 / Rails 3.2 incompatibilities: - Integer/Float duration arithmetic (ActiveSupport) - Arel visit_Integer for PostgreSQL adapter - create_database String/Integer coercion - ActionController consider_all_requests_local - Migrated taggings schema for acts-as-taggable-on - Replaced dynamic_form gem with custom form_error_messages helper - Fixed Rails 3 block helper syntax (form_for, form_tag, fields_for) - Fixed admin layout yield - Updated test suite for Rails 3 APIs
2010-01-14Updated globalize2 to latest version. Modified existing code accoringlyhukl
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-13added :dependent => :destroy to asset model so related assets get deleted as the asset they're referencing is deleted.hukl
Closes #25
2009-09-10added public rss controller plus template to render the latest 20 updates into a neat little atom feedhukl
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-06added public search controller with corresponding viewhukl
2009-09-05added tag resource, widget and auxillary fileshukl
2009-09-04fixed test - checking for new lock exceptionhukl
2009-09-01added related_assets to pageshukl
2009-08-08added menu items resourcehukl
2009-08-08added dynamic main menuhukl
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-25Integrated basic Asset upload functionality. You can upload files now and use their url in pages.hukl
2009-04-18adding "restore_revision" functionality to the backendhukl
2009-04-05renamed count to size for older rubyshukl
2009-03-29a few more assertionshukl
2009-03-29Added unit test to verify the basic functionality of the find_with_outdated_translations method. Found and fixed some issued on the way. [ x ] Testing rockshukl
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-18add missing location column to events. removed summary column from summary - we try joins instead. we can always fallback if it turns out to be a stupid ↵hukl
idea. added proper migrations
2009-03-18Refactored Chaos Calendar by wrapping libical and introducing event and occurrence model. More improvements to come. Enables us to create events with ↵hukl
reoccurrence and intervals etc.
2009-03-15first revision and diff interfacehukl
2009-03-10remove event resource temporarily until its finalizedhukl
2009-03-10small compatibility fix for page testerdgeist
2009-03-10added calendar backend. more features and integration to comeerdgeist
2009-03-05rewriting url in body fields to include the locale before saving the page. xpath magick for the win!hukl
added corresponding test of course
2009-03-01renamed user to users controllerhukl
2009-03-01created empty user controllerhukl
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-27more tests and fixes. always write tests - they are so good!hukl
2009-02-27unit test for the Page.aggregate method to verify only published pages are aggregatedhukl
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-19adding the admin controller and his friendshukl
2009-02-15* removed the auditing observer, we'll do it the old fashioned waysimon
* added permission model * locked down attributes on page model
2009-02-15* initial commit of the stripped restful-authenticationsimon
* http basic auth and login from cookie have been removed * no it does not work yet, it's so f*cking secure, it won't even let legitimate users login
2009-02-08lots of concept refinementshukl
2009-02-08added basic user model and user_id on page modelhukl
to introduce the concept of authors.
2009-02-08refactored refined concept of nodes and pages intohukl
the node model
2009-02-08added nodes controller and made it a resource.hukl
since the node is the proxy for the pages behind it, it makes sense to operate on nodes rather than on the pages themselves.
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-02refactored the whole tagging thing. now usinghukl
acts_as_taggable_on_steroids instead of a homebrew solution
2009-02-02aggregation spike with flags associated to pageshukl
Page has now a named_scope :with_flags which accepts an array of flag names and returns corresponding pages. Can be chained with order and limit