Matt Rogers
efbf881742
Merge pull request #1872 from C-Otto/create-reviewed-2.3
...
(2.3) create projects as reviewed at creation time
2015-08-07 19:59:57 -04:00
Carsten Otto
67ced62096
Projects with completed actions may be blocked
...
Currently, a project cannot be blocked if at least one completed
action exists. This was introduced in
acab98d4c7 ,
and I assume this change was not intended
2015-06-16 20:44:26 -04:00
Carsten Otto
6014ce7a6f
create projects as reviewed at creation time
...
Fixes #1788
2015-05-22 23:12:45 +02:00
Dan Rice
556c68c2e6
Revert breaking commits
...
This reverts the following commits:
c129b8a06f
c7c923a317
006c135a64
2015-04-14 22:26:07 -04:00
Reinier Balt
c7c923a317
discard time in these tests since they are
...
irrelevant here
2015-04-13 15:42:35 +02:00
Carsten Otto
12ee2ed5e3
typo
2015-04-13 14:38:09 +02:00
Carsten Otto
cec2e535b2
fix #1754
2015-04-13 14:37:12 +02:00
Matteo Giaccone
d7fbcb10c4
Fix #1722
2015-02-22 17:04:46 -05:00
Matteo Giaccone
13f8023ca0
Fix #1724
2015-01-01 18:16:40 -05:00
Reinier Balt
166387f0be
Statistics for longest running projects now includes completed and hidden projects. fixes #1725
2014-11-05 17:09:59 +01:00
Reinier Balt
18b7a467c1
fix #1400 where deleting a user will clean up tags and dependencies too
2014-09-23 16:35:45 +02:00
Reinier Balt
f8d4f85a8c
add test for deleting all stuff of a user when this users is deleted. Fixes #1447
2014-09-23 15:47:07 +02:00
Reinier Balt
1ff6f72a63
update gems and fix failing test
...
I don't know why the i18n setup code was in there, but it seems to do nothing important
2014-08-06 15:50:26 +02:00
Reinier Balt
ee3ba62152
fix #1712 . Number of occurrences was not handled correctly
2014-08-06 14:40:30 +02:00
Reinier Balt
01c4b83101
update gems and fix test regressions
2014-07-18 09:41:27 +02:00
Reinier Balt
1e11d298a3
add basic tests for date label helper
2014-07-18 09:22:24 +02:00
Dan Rice
2386e67dec
Simplify requiring of test helpers
2014-05-16 18:03:13 -04:00
Dan Rice
d0cec167a8
Replace Timecop with new ActiveSupport helpers
2014-05-16 13:25:22 -04:00
Reinier Balt
2430fcb906
fix failing tests
...
not sure if the to_a fixes to get collections from activerecord is the right way
2014-05-16 14:33:18 +02:00
Reinier Balt
35cab99cea
switch to minitest from test/unit
...
not sure if this is the right change, but tests seem to run
2014-05-16 14:33:18 +02:00
Reinier Balt
0839765e7b
smaal refactoring and improvement of date handling in test
2014-03-31 11:22:23 +02:00
Reinier Balt
ed039d4c4a
small refactorings and add some tests
2014-03-31 11:09:00 +02:00
Reinier Balt
3cb18cd875
move tests from recurring_todo_test to respective repeat_pattern_tests
2014-03-31 09:43:39 +02:00
Reinier Balt
0c153ef28c
improve test of daily repeat pattern
2014-03-31 09:43:39 +02:00
Reinier Balt
a9fa955c33
move daily test to daily pattern test
2014-03-31 09:43:39 +02:00
Reinier Balt
b84adfc172
move recurrence text helpers into patterns. move next_date calculation into
...
respective models
2014-03-31 09:43:39 +02:00
Reinier Balt
cbdbb792a5
add basis tests for patterns and remove doubles from recurring_todo_test.rb
2014-03-31 09:43:39 +02:00
Reinier Balt
a7807a4b66
dry form_helper using meta programming.
...
not sure if this improves readability, but codeclimate should be happier...
2014-03-31 09:43:39 +02:00
Reinier Balt
5de96d7eda
add some more tests
2014-03-31 09:43:39 +02:00
Reinier Balt
59a29c664a
move form specific accessors out of model
2014-03-31 09:43:39 +02:00
Reinier Balt
29b815e998
move model validation into pattern classes and link from recurring_todo model
2014-03-31 09:43:39 +02:00
Reinier Balt
776a046465
move mapping of form attributes to model attributes from pattern to builder to make
...
pattern independent of form
2014-03-31 09:43:39 +02:00
Reinier Balt
c2c67f1640
use new model to handle updating of recurring todos
2014-03-31 09:43:39 +02:00
Reinier Balt
78c07d52b7
Start major refactoring of recurring_todos. Started with creating new recurring todos.
...
All current and new tests pass
2014-03-31 09:43:39 +02:00
Reinier Balt
b15d195c45
fix test regressions. should run all tests before committing :-)
2014-01-26 15:10:36 +01:00
Reinier Balt
63af3bbcfa
make todo_from_rich_message time zone aware. test was failing.
2014-01-26 15:05:27 +01:00
Reinier Balt
17dca39d3a
update gems and fix i18n and aasm deprecation warnings
2013-12-30 20:52:35 +01:00
Greg Sutcliffe
2f043911c6
Extend RichMessage format to include other data
...
Uses new Regex to detect:
@ context
~ project
> tickler-date
< due-date
# tag (repeatable)
* (starred)
2013-10-16 21:25:47 +01:00
Matt Rogers
1441d53808
Compare against an array instead of joining them into a string
...
No need to create a string out of them to get a good comparison
2013-10-15 20:03:01 -05:00
Matt Rogers
9fd4b845de
Don't depend on the environment in the test
2013-10-15 20:02:52 -05:00
Matt Rogers
bae4b2a5b7
Require 'timecop' explicitly
...
This works around a problem with bundler's autorequires when not using
a standard Rails environment.
2013-10-15 20:02:52 -05:00
Reinier Balt
edb2ad7077
add missing tests for todo
2013-09-25 16:22:06 +02:00
Reinier Balt
11bc4294a8
add tests for done_todos
2013-09-25 15:08:25 +02:00
Reinier Balt
ae11f09d2f
fix calendar_test
...
todos in rest of month means all todos after next week in the current month. The test failed
if the todo was created in next week and that week being the last week in the month. In that
case the todo should not be returned by rest_of_month since it is in rest_of_week
2013-09-23 16:52:29 +02:00
Reinier Balt
067db90d58
various small refactorings
2013-09-22 17:34:58 +02:00
Reinier Balt
daef1c440b
improve integration test of cli scripts
2013-09-20 21:18:33 +02:00
Reinier Balt
4c73e260e3
add test for cli xml builder
2013-09-18 22:54:46 +02:00
Reinier Balt
62bc47b26b
fix regression in recurring todos
2013-09-17 15:40:20 +02:00
Ian Young
aff7069c0e
Fix bug assigning value from every_x_day input
2013-09-13 23:15:11 -07:00
Reinier Balt
fee1e3b504
fix failing test on timezones and remove debug message
2013-09-05 12:23:26 +02:00