Carsten Otto
cd09cce7a4
when recurring todos always use midnight for "show from"
...
fixes #1940
2015-12-13 15:44:40 +01:00
Reinier Balt
e58379e81f
This fixes failing tests when the timezone is different than utc
...
There were several problems:
* Time.now returns the systems time, not the users time
* fixtures do not translate dates from timezone to utc, but stores the
date verbatim
* calling a controller will set the timezone to the preference of the
current_user. So it could be changed while you do not realize this. I
fixed the failing test, but problems could be elsewhere
2015-08-05 11:50:33 +02:00
Carsten Otto
d480569629
occurence -> occurrence
2015-02-10 15:49:13 +01:00
Carsten Otto
705f307bfb
fix typos
2015-02-09 23:24:19 +01:00
Dan Rice
2386e67dec
Simplify requiring of test helpers
2014-05-16 18:03:13 -04: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
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
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
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
4a485558e2
Merge branch 'master' into rails4
...
Conflicts:
Gemfile.lock
config/routes.rb
2013-06-17 09:25:02 +02:00
Reinier Balt
0bc9b0397a
move tests to new directory
2013-05-11 23:13:16 +02:00