Reinier Balt
1cdf6c8b8e
fix #1325 by applying the patch of Dan Rice. Thanks Dan!
...
Also add a test to catch regessions
2012-08-25 17:18:22 +02:00
Reinier Balt
a37d10f57a
fix #1314 . Fixed security issue too
2012-07-18 12:26:46 +02:00
Reinier Balt
881c83292b
reorder tests
2012-07-18 11:59:17 +02:00
Reinier Balt
4e29bf69f7
fix failing tests and small refactorings
2012-07-18 11:42:26 +02:00
Reinier Balt
7c1cd2a144
fix #1310 . Add test for this
...
Found that I had a lot of tests commented out. They have some regressions I will fix later
2012-07-15 21:28:42 +02:00
tim madden
51da342cdc
harmonizing todo_tag_list and tag_list, using just the shorter tag_list
2012-06-27 13:56:56 -05:00
Reinier Balt
c9d64e6f4b
get the first cucumber feature running: calendar
2012-04-30 13:56:42 +02:00
Reinier Balt
63175c115b
all non-cucumber tests are passing
2012-04-30 13:56:41 +02:00
Reinier Balt
13b58f3a10
all unit and functional tests are passing
2012-04-30 13:56:40 +02:00
Reinier Balt
b2e6253b4c
restore all associations for tags. All tests are passing
2012-04-11 11:37:22 +02:00
Reinier Balt
dcb155d90d
fix #1271 . Don't block an already blocked todo. Create tests for this case
2012-04-08 15:19:42 +02:00
Reinier Balt
b90e34bd53
Fix #1258 and fix #1259
2012-03-19 14:40:08 +01:00
Matt Rogers
e7268fbaa2
Remove the double-quote custom validation
...
Rails has had SQL injection prevention since at least 2009 so we don't
need our version of it anymore.
Fixes ticket #1237
2012-02-02 22:28:26 -06:00
Reinier Balt
4b6aff5502
hopefully fix failing recurring todos test. Timezones are a pain to get right
2011-11-16 22:05:06 +01:00
Reinier Balt
cda75a0cc1
fix regression where viewing a page for a single tag (like starred) did not work
...
and fix some test warnings/errors
2011-10-31 14:39:52 +01:00
Reinier Balt
58d8bc56d1
fix #827 . You can now select todos with tags using OR and AND
...
/todos/tag/tagA,tagB?and=tagC will select all todos with (tagA or tagB) AND tagC
2011-10-28 19:33:51 +02:00
Stefan Richter
4b0087ae36
fix path concatenation
2011-10-09 20:30:48 +02:00
Reinier Balt
9eca1557fb
add tests for adding multiple todos and multiple sequential todos
...
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-09-14 16:29:30 +02:00
Reinier Balt
c6c51ee83c
fix failing specs
2011-08-16 11:49:04 +02:00
Reinier Balt
e531907521
restore tests for cached not_done counts
2011-07-09 17:21:35 +02:00
Reinier Balt
8546ae5dfa
fix test failures after the changes and refactorings
2011-07-09 17:19:12 +02:00
Reinier Balt
056dbf08a7
remove vendored gem and fix state model. Some old hacks did not work anymore on the newer aasm. reverted the hacks and fixed some tests
2011-06-10 23:17:22 +02:00
Reinier Balt
52a50b7463
bring back our changes to tagging_extensions to handle empty tags and handle numbers as tags
2011-02-08 22:24:06 +01:00
Reinier Balt
97e8602ef9
rebase to master to include i18n changes and fix merge conflicts
2011-02-03 18:19:26 +01:00
Reinier Balt
a832417c59
migrate toggle_check and destroy and defer and get the functional tests running again
2011-02-03 18:19:17 +01:00
Eric Allen
b50a1ce26f
Fix a couple of test definitions to avoid false test failures
...
State should be unspecified to default to active
Fixes #977 (again)
2010-05-17 11:02:23 -04:00
Reinier Balt
cfc6d117b8
fix #1027 . Several tests were broken because of the more strict validations on the recurring_todo model
2010-05-13 18:24:26 +02:00
Eric Allen
a022f449c1
Fixed failing tests
...
- Some fixtures added by Erik Ordway broke tests
- message:// links had an edge case I broke with 68701ada
- One test had a hard-coded id that changed
Closes #1019
2010-04-09 09:34:57 -04:00
Reinier Balt
022a94f686
fix test where today and show_from did not have the same timezone and add test for OneNote links inspired by the tests for Mail.app links
2010-01-13 21:17:17 +01:00
Patrice Neff
5299490c83
Linkify message:// URLs in notes. Those links are used by Mail.app on
...
Mac OS X to link to a mail message by message id.
2010-01-10 08:34:10 +08:00
Eric Allen
3e177c7b81
Remove some tests we can no longer run
...
See #965 for rationale and updates
2009-12-08 12:36:00 -05:00
Eric Allen
828201dfe0
Fix some failing tests
2009-12-07 22:43:00 -05:00
Eric Allen
0dfb1aafda
The syntax of assert_difference has changed
...
You pass it a string now, instead of an object and a method
2009-12-07 18:41:23 -05:00
Michaël Witrant
c679593d1e
fixed url parsing when they contain a slash in query string
2009-11-24 19:06:13 +08:00
Eric Allen
00da0b36aa
Fixed a latent time zone bug in tests.
...
I created a new method accessible to all tests for forcing a user to the local time zone. The code was cribbed from Rails's rake tasks time:zones:local.
2009-10-13 23:39:36 -04:00
Eric Allen
fe52c0ab3c
Fixed some failing tests and removed dead ones.
2009-10-13 23:38:25 -04:00
Eric Allen
66de0f9fd8
Don't set time to UTC for midnight in test.
...
This was causing an intermittent test failure in GMT-4.
2009-09-02 09:59:16 -04:00
Reinier Balt
4ed5567885
get tests running again
2009-08-05 21:00:41 +02:00
Reinier Balt
7a7862221d
get tests running again with zentest >= 4.0.0
2009-06-02 21:22:50 +02:00
Reinier Balt
6f82dd0fd3
fix failing test.
...
This was not due to a bug in tracks but a bug in the test
2009-03-02 15:01:50 +01:00
Eric Allen
e40b8ecbcf
Need to save todo after updating state from project. Fixes #834 .
2009-02-01 15:25:09 -05:00
piglop
8790a9b06d
Fixed a small error in tests
...
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2009-01-28 17:03:37 +08:00
Reinier Balt
07426ebe54
a previous commit introduced a bug where hiding a project did not hide the todos in it. Fixes #832
2009-01-24 22:13:19 +01:00
Vitalie Lazu
5ee939ac47
Fixed exception in preference model when todo xml api is used with show_from attribute
...
Signed-off-by: bsag <butshesagirl@rousette.org.uk>
2009-01-11 23:37:14 +08:00
Reinier Balt
f79c28231b
remove unused and unneccesary user_id from taggings table.
...
this way we can stay closer to the defaults of has_many_polymorphs thus making upgrading easier
2009-01-08 10:18:03 +01:00
Reinier Balt
0e68ded56a
fix tags and fix tests
2008-12-22 23:26:38 +01:00
Reinier Balt
f3d7fac2a4
fix test where month+1 resulted in an error for december
2008-12-03 10:22:43 +01:00
Luke Melia
35ae5fc431
Next step in upgrading Tracks to Rails 2.2. Some highlights:
...
* Ran rake rails:update
* Added old actionwebservice framework
* Updated RSpec and RSpec-Rails
* Removed asset_packager plugin (not compatible, Scott no longer maintaining), and replaced with bundle_fu. See the bundle_fu README for more info.
* Hacks to UJS and ARTS plugins, which are no longer supported. Probably should move off both UJS and RJS.
* Hack to flashobject_helper plugin (upgrade to Rails 2.2-compatible version if/when it comes out.)
* Hack to skinny-spec plugin, for Rails 2.2 compatibility. Should check for official release.
* Hacks to resource_feeder plugin, for Rails 2.2 compatibility. Should check for official release (not likely) or move off it.
* Addressed some deprecation warnings. More to come.
* My mobile mime type hackery is no longer necessary with new Rails features. Yay!
* Updated environment.rb.tmpl with changes
TODO:
* Restore view specs marked pending
* Fix failing integration tests.
* Try selenium tests.
* Investigate OpenID support.
* Address deprecation warnings.
* Consider moving parts of environment.rb to initializers
* Address annoying config.gem warning about highline gem
2008-11-30 00:34:15 -05:00
Reinier Balt
4a98ee5669
several fixes to recurring todos and adds some named_scopes
...
fixes case where unmarking a complete todo which belongs to a recurring pattern results in two todos that both keep on recurring. With this fix a new todo will only be created when there are no active todos left belonging to that recurring pattern
fixes tests that failed because of previous commits
adds some named_scopes, inspired by http://railscasts.com/episodes/108
2008-11-28 16:39:50 +01:00
Reinier Balt
f21908a2a0
Fixes corner case where checking a monthly recurring todo complete on
...
the same day the todo comes from tickler, a new todo is created and not
put in the tickler for next month, but for today
2008-10-29 16:40:45 +01:00