26 Jan, 2015
1 commit
-
This needs to be done for all plugins as well, but it's more complicated there because several plugins have their own test_helper (which will also load the core test_helper).
26 Sep, 2014
1 commit
31 Jul, 2013
1 commit
17 Jan, 2012
1 commit
-
. Also fixing some typos (ActionItem1565)
20 Jan, 2011
1 commit
-
(ActionItem1798)
31 Oct, 2009
1 commit
-
* Moved all object creation helper methods into Noosfero::Factory * Added a new and faster version of create_user. * Adjusted some test cases tests to use the new factory methods This comprised removing a lot of bad smells from the tests, involving eliminating uneeded database hits. * reviewed ProfileTest for speed as a case study. The test suite used to take ~ 40 seconds to run, now it takes ~ 14 seconds. If we do this to all test suites, we can dramatically reduce the time we need to run all the tests * Added a rake task test:smells to list potential test smells. Started with probably unecessary and/or too slow database hits * In the end, running all the tests now takes ~ 13 minutes on Colivre's development machine, instead of the ~ 30 minutes it used to. (ActionItem1279)
27 Oct, 2009
1 commit
-
* transformed script/feed-updater into a controller script. It starts and stops together with the production system (script/production) * moved the update (daemon) logic into FeedUpdater class. It knows which feeds must be updated and when, and when it should stop running. * concentrated the fetch (download) logic into FeedHandler class. It knows how to update a specific feed. * implemented the concept of "enabled" and "expired" in both ExternalFeed and FeedReaderBlock. The feed updater looks for feeds that are both enabled *and* expired to update. * Disabled feed reader blocks get re-enabled when their address is changed. * fixed a bug that made some feeds crash when using PostgreSQL (CGI::unescapeHTML transforms Numeric Character References into iso-8859-1 data and PostgreSQL won't accept that into a UTF-8 database) * Removed sleep(1) calls from script/production, they don't seem to be useful * Added an index for the type column in `blocks` table. (ActionItem1243)
21 Aug, 2009
1 commit
18 Jun, 2009
1 commit
-
fixed also a test in the feed_handler that relied in the order of the items
03 Apr, 2009
1 commit
20 Mar, 2009
2 commits
-
* making the block available for environments * moving the status message to the block footer * renaming `clean` to `clear` * moving all feed processing logic to FeedHandler * copied style from recent documents block * using actual ActiveRecord object for testing