Jyri-Petteri Paloposki
13bdef74b3
Update the date formatting syntax
2025-06-29 13:25:14 +03:00
Jyri-Petteri Paloposki
86e36b07a6
Fix syntax errors for upgrade of Rails version
2024-06-06 01:43:48 +03:00
Jyri-Petteri Paloposki
4eabdb1a83
Fix the recurring year tests
2022-07-26 02:01:15 +03:00
Matt Rogers
af32031002
Fix due dates in recurring todo test
2021-07-24 15:14:47 -05:00
Jyri-Petteri Paloposki
d4c9041ccd
More code style fixes
2021-01-06 03:47:35 +02:00
Jyri-Petteri Paloposki
41c9d3fb18
Sort the group count values to fix tests in PgSQL broken by 5b6cbf566.
2020-09-05 02:40:26 +03:00
Jyri-Petteri Paloposki
a0768636c3
Try fixing a few test deprecations
2020-08-20 19:33:46 +03:00
Jyri-Petteri Paloposki
149dbe7e27
More fixed tests
2020-07-20 20:25:35 +03:00
Jyri-Petteri Paloposki
efee4976b0
Make email address voluntary in preferences; update tests to handle the added email field better
2020-07-20 20:08:18 +03:00
Jan-Yves Ruzicka
6fcf7e6d46
Fix test_start_from_in_future
2020-02-06 10:46:32 +13:00
Jyri-Petteri Paloposki
6b54962388
#1955 : Add user_id to tag test fixtures to fix tests
2019-06-27 15:58:12 +03:00
Jyri-Petteri Paloposki
80aad1b4f2
#1153 : Remove unnecessary type change and test for stats chart templates and endpoints which were removed
2019-05-20 01:12:25 +03:00
Matt Rogers
63ac90ebb2
Convert to using symbols everywhere
2019-04-11 11:28:43 -05:00
Matt Rogers
fc17a03bc0
Add tests for the new object and fix a bug
...
Each of the individual query chunks has their own test, in addition to a
test for the full combination of parameters that could influence a
query.
There is also a bugfix for the tag query in here, since I want, as much
as possible, to have passing tests on every commit.
2019-04-11 09:53:53 -05:00
Matt Rogers
32d267d6cd
Remove private variable usage from models
...
It seems that `@new_record_before_save` as an instance variable has been
present since around 2007 and it wasn't until Rails 5.1 that things were
changed in such a way to make this inaccessible now.
2018-11-12 13:23:30 -06:00
Matt Rogers
6e48ce6594
Compare items of the same type
...
Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-11-03 15:19:57 -05:00
Matt Rogers
71c95c0d01
Switch assert_not_equal to refute_equal
...
Preferring to use minitest methods here instead of test-unit.
2018-10-19 11:35:52 -05:00
Matt Rogers
bb8fd08685
Remove the assert_value_changed helper
...
It's only used in one place and it's easy enough to rewrite this into
something more straightforward and less clever.
2018-10-17 21:22:13 -05:00
ericmoon
a92317f0b5
stupid typos
2018-08-02 11:58:56 -07:00
ericmoon
589ee75168
another assert_nil hack
2018-08-02 11:52:01 -07:00
ericmoon
04d5e764b2
typo fix
2018-08-02 11:43:48 -07:00
ericmoon
429a22778c
hack to remove minitest deprecation warnings
2018-08-02 11:31:50 -07:00
ericmoon
fa7f2a777b
assert_equal nil deprecated: replace with assert_nil
2018-08-02 10:57:11 -07:00
Carsten Otto
ed3bca22a4
Remove 'project_hidden' state
...
Compute it using project/context state
Notable change:
todo.hidden? now also returns true if the todo is completed
2016-04-16 09:27:33 +02:00
Jan-Yves Ruzicka
ccf13418f4
Extract rendering to helper method. Shift filename sanitization to controller.
2016-02-02 11:08:12 +00:00
Matt Rogers
42ab5e3000
Merge pull request #1951 from C-Otto/show_from_midnight
...
when recurring todos always use midnight for "show from"
2016-01-21 16:13:30 -06:00
Carsten Otto
b788194f8d
fix test
2015-12-13 16:12:45 +01:00
Carsten Otto
cd09cce7a4
when recurring todos always use midnight for "show from"
...
fixes #1940
2015-12-13 15:44:40 +01:00
Matt Rogers
3468d1ec13
Merge branch '2.3_branch'
2015-12-08 20:14:33 -06:00
Nascher
dd6698b8a1
Update the maximum password length
2015-08-29 23:58:02 +00:00
Reinier Balt
ddd9c07d3b
Fasterer: Use &:symbol is faster
...
Calling argumentless methods within blocks is slower than using
symbol to proc.
2015-08-19 14:48:31 +02:00
Carsten Otto
e0143cf435
move actual activation to model
...
fixes #1881
2015-08-09 13:47:17 +02:00
Matt Rogers
a9023960fc
Merge pull request #1848 from C-Otto/tracks-1847
...
Fix description of monthly recurring tests
2015-08-07 20:29:40 -04:00
Matt Rogers
f393afb69f
Merge branch '2.3_branch'
...
This brings the master branch up to date with the 2.3 release branch
2015-08-07 20:27:14 -04:00
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
Matt Rogers
1c0a70df75
Merge pull request #1903 from lrbalt/fix-test-errors
...
Fix failing tests for non-UTC timezones
2015-08-07 19:50:58 -04:00
Reinier Balt
2bd68fecb7
Create attachment model and hook it up to todo
...
An attachment has write permissions on group so that managing
attachments work from different users in same group, i.e. user apache
and user mail.
2015-08-05 16:05:19 +02: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
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
Dan Rice
5bf60bb0e6
Merge pull request #1808 from C-Otto/blocked_projects
...
Projects with completed actions may be blocked
2015-06-16 20:44:17 -04:00
Carsten Otto
6014ce7a6f
create projects as reviewed at creation time
...
Fixes #1788
2015-05-22 23:12:45 +02:00
Carsten Otto
47d0364dbd
fix test
...
every_other3 encodes 1:first to 4:fourth and 5:last weekday of month
every_other2 encodes every nth month
2015-05-10 14:11:08 +02:00
Carsten Otto
a29009d3da
replace 'None' project by empty string, fix #440
2015-05-10 14:08:20 +02:00
Carsten Otto
cc88d24d79
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-04-15 20:46:53 +02:00
Dan Rice
1dbef179a7
Revert breaking commits
...
This reverts the following commits:
319d4b00cd
403cc1015e
37485013a0
d08ffb3806
2015-04-14 23:28:18 -04: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
82cabf8aee
Merge pull request #1814 from C-Otto/tracks-1448
...
retain tags from action when transforming into project
2015-04-13 16:19:55 +02:00
Reinier Balt
319d4b00cd
fix failing tests with use of localtime
2015-04-13 15:57:57 +02:00
Reinier Balt
37485013a0
discard time in these tests since they are
...
irrelevant here
2015-04-13 15:43:32 +02:00
Reinier Balt
c7c923a317
discard time in these tests since they are
...
irrelevant here
2015-04-13 15:42:35 +02:00