Reinier Balt
eb1502d4e0
Merge branch 'master' into new-gui
...
Conflicts:
Gemfile.lock
2014-01-07 21:01:55 +01: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
Reinier Balt
cb46a8461e
fix show_from not being clear when a todo comes from tickler
2013-09-05 12:21:43 +02:00
Reinier Balt
6e654c5d03
fix failing test
2013-09-05 10:53:16 +02:00
Matt Rogers
96777c2e3a
Replace User#time with UserTime#time
2013-07-30 16:21:04 -05:00
Matt Rogers
07a983ca1c
clean up whitespace
2013-07-29 16:36:52 -05:00
Matt Rogers
a1aaa283f1
Remove User#at_midnight
...
Replace it with a class called DateUtils with a method called
`#midnight_for` that takes a preference instance and date to convert to
midnight.
2013-07-29 16:34:23 -05:00
Brett A. Rogers
f18f1c7345
Move calendar test down to unit tests
...
Remove tests that are specific to the calendar model from controller
test and move them to unit tests.
2013-07-19 17:27:38 -05:00
Matt Bridges
ecdade33c3
Pull out RichMessageExtractor
...
No need to have it embedded
when it should be unit tested!
2013-07-18 18:34:09 -05:00
Matt Bridges
c2111b2f8e
Extract behavior from Todo.from_rich_message
...
`Todo.from_rich_message` was partially tested from the MessageGateway,
but it is mostly untested and does not belong in Todo due to it's unique
nature. Extract it entirely from `Todo` into it's own dedicated object
for unit testing.
2013-07-18 16:35:51 -05:00
Reinier Balt
2daffef683
fix failing tests
2013-06-17 10:06:38 +02: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
08498fee4f
fix failing tests
...
Includes a monkey patch for Arel that may need to be removed when 4.0.0 final ships
2013-05-13 15:35:21 +02:00
Reinier Balt
1234abb266
taggable_type should be accessible for test
2013-05-13 12:32:41 +02:00
Reinier Balt
0bc9b0397a
move tests to new directory
2013-05-11 23:13:16 +02:00