2
0
mirror of https://github.com/moebooru/moebooru synced 2025-08-22 01:47:48 +00:00

122 Commits

Author SHA1 Message Date
nanaya
6e7d26128c Remove commented out test
I don't think it'll ever return.
2024-11-04 07:39:42 +09:00
nanaya
dea614b089 Remove unused include 2024-11-04 07:38:00 +09:00
nanaya
5c6773b3d0 Scope dtext test helper
Otherwise it may end up being called by something else.
2024-11-04 07:35:50 +09:00
nanaya
be7bb55b97 Add rails version of rubocop 2024-01-08 19:39:01 +09:00
nanaya
87fd840035 Update to rails 7.1 and ruby 3.1 2022-01-15 02:44:18 +09:00
nanaya
ef53765c91 Update to latest rails and other gems 2021-02-11 17:04:13 +09:00
nanaya
69c8917d69 Update new defaults 2020-12-11 01:30:54 +09:00
nanaya
7ccb64c273 Lowercase usernames app-side
Database may have different ctype when being migrated around.
2020-09-12 19:33:54 +09:00
nanaya
d649868eec Update comments to use delegate 2020-04-22 05:15:23 +09:00
nanaya
754ca16bc0 Update tests to match new dmail behavior 2020-04-21 02:39:30 +09:00
nanaya
47d8a9ca20 Use update instead of update_attributes 2019-08-17 20:37:02 +09:00
nanaya
04b87991ce Should be crlf, not the other way around 2018-11-17 01:14:26 +09:00
nanaya
ef91682461 Emails require crlf it seems 2018-11-17 01:11:55 +09:00
nanaya
ebb92f9cf9 No more rarrrr 2017-05-27 19:14:00 +09:00
nanaya
d3c9cbfc09 post owner can delete his own post 2017-03-02 13:04:21 +09:00
nanaya
31a81b7c27 Accidentally wrong user_id years ago 2017-03-02 12:51:46 +09:00
nanaya
2535db00a6 Doesn't make sense to redirect to post url 2017-03-02 12:51:32 +09:00
nanaya
818ed00c89 Avoid running tests twice 2016-08-16 07:53:02 +09:00
nanaya
2e509f6e00 Green test \o/
Removed unneeded gems.
2016-08-16 07:50:23 +09:00
nanaya
e61944bcd7 Slightly more useful test log 2016-08-16 05:47:34 +09:00
nanaya
bca65f23f9 Remove deprecated argument 2016-08-16 05:45:10 +09:00
nanaya
e9aa076a74 Now with correct class 2016-08-16 05:44:56 +09:00
nanaya
8321a05069 Set user by its fixture name 2016-05-28 12:25:44 +09:00
nanaya
3cbb33bf9b Fix test regarding parameter filtering. 2015-07-25 15:33:01 +09:00
nanaya
0a657a805e Add test for Post#activate. 2015-06-17 15:04:48 +09:00
nanaya
f5605e878f Don't explode on blank parameter in artist#preview. 2015-05-31 17:06:40 +09:00
nanaya
766d830872 Don't explode on empty params on post#update. 2015-05-19 16:20:52 +09:00
edogawaconan
0c2f30f58b Update .deliver to use .deliver_now instead. 2015-01-06 02:24:53 +09:00
edogawaconan
83f6ad3a6e Update to 4.2.
- backport javascript functions.
- remove deprecation message from backported functions.
- fix queries and syntaxes.
- remove unused performance tester.
- update config settings to match 4.2.
- reflections is now string, not symbol.
- split off (/index) routes. For some reason it is always added now.
- DMailer is now plain ruby class.
- properly test xhr thingy.
- remove hooves
2014-12-23 03:15:06 +09:00
edogawaconan
72626fab8e Use plain increment to expire thing.
Hopefully nothing breaks.
2014-12-06 02:55:51 +09:00
edogawaconan
843046a028 Increase cache versioning precision to allow subsecond difference. 2014-12-06 02:18:09 +09:00
edogawaconan
21258f461b Uniform result between different collations (utf8 vs C). 2014-12-06 02:02:45 +09:00
edogawaconan
6a12a90573 Add more delay :( 2014-12-06 01:21:18 +09:00
edogawaconan
87f17c9ef6 More thread variable clearance before every test. 2014-12-06 01:09:59 +09:00
edogawaconan
9faa5577ec Always clear cache before every tests. 2014-12-06 01:09:29 +09:00
edogawaconan
2d6da991fe Less cross-test thread variable pollution. 2014-12-06 01:09:26 +09:00
edogawaconan
af39d0718b Don't explode on nil. 2014-12-05 23:54:08 +09:00
edogawaconan
1ccb3c9d9c Compare date by its integer value. 2014-12-05 11:48:38 +09:00
edogawaconan
0ccdd15d4d FavoriteController is pretty much nonexistent anymore. 2014-12-05 11:48:20 +09:00
edogawaconan
ac0c62e6aa Replace dtext test with the new one. 2014-12-05 11:19:35 +09:00
edogawaconan
e147a685ec Fix test for CommentController. 2014-12-05 11:16:35 +09:00
edogawaconan
4fb71ed7e4 Remove test on disabled functionality. 2014-12-05 11:05:05 +09:00
edogawaconan
7e6092c398 Fix test for ArtistController. 2014-12-05 10:53:05 +09:00
edogawaconan
6691b9927f Fix test for Dmail model. 2014-11-23 13:09:44 +09:00
edogawaconan
8aa26c2c2c Fix test for pool controller
- add js support for `access_denied`
- pool operations now require login
- append redirect url to login redirect expectation
- fix up deprecated queries
- sequence is now a string
2014-11-21 21:41:35 +09:00
edogawaconan
8be331634d PostTagHistory has been replaced by History. 2014-11-21 10:58:38 +09:00
edogawaconan
a2176710cc Fix cache helper test.
Previously disguised as "ApplicationTest" in "models".
2014-11-21 10:46:20 +09:00
edogawaconan
2dbb81b82f Fix test for PostController.
Refactor while at it.
2014-11-21 02:01:36 +09:00
edogawaconan
4effedb540 Fix test for PostTagHistory (which seems useless). 2014-11-21 01:00:28 +09:00
edogawaconan
809561fbae Fix test for Note model. 2014-11-20 23:47:58 +09:00