Commit Graph

129 Commits

Author SHA1 Message Date
Karina Kwiatek 9ce1fc0ce4 Address review comments from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-01-01 22:10:13 +01:00
Karina Kwiatek 5a597fca5c Add test for `ServicesController` 2022-01-01 21:58:36 +01:00
Andreas Nedbal 2c72278cdd Add tests to check for `#question_markdown` not processing markup 2021-12-31 22:40:38 +01:00
Andreas Nedbal bc65b42b02 Add tests for `StaticController#linkfilter` 2021-12-31 22:40:38 +01:00
Andreas Nedbal 5eb297136b Add tests for `MarkdownHelper` 2021-12-31 22:40:38 +01:00
Karina Kwiatek 2a2bd6ad14
Merge pull request #250 from Retrospring/eager-loading
Eager load relationships for questions, answers and users
2021-12-31 22:37:41 +01:00
Karina Kwiatek 817c221551 Add basic test for user questions 2021-12-31 15:56:15 +01:00
Karina Kwiatek 2f355d5041 Add basic tests for followers & following in `UserController` 2021-12-31 15:36:16 +01:00
Karina Kwiatek 7e57735b88 Add basic test for answer & user show views 2021-12-31 13:59:15 +01:00
Andreas Nedbal 51bb2ae425 Add tests for new answer page theme logic 2021-12-30 02:03:34 +01:00
Karina Kwiatek b438c89256 Fix broken tests 2021-12-28 15:11:41 +01:00
Karina Kwiatek a534dd04d5 Test all cases of error handling for `ShareWorker` 2021-12-28 03:59:45 +01:00
Karina Kwiatek 45dae78ed0 Adjust `ShareWorker` test to not be dependent on config options 2021-12-28 03:03:59 +01:00
Karina Kwiatek d73e269d85 Test `ShareWorker`'s handling of unhandled exceptions 2021-12-27 23:02:32 +01:00
Karina Kwiatek 0b926a43e4 Test `ShareWorker`'s handling of deleted records 2021-12-27 18:53:59 +01:00
Andreas Nedbal b544145b93 Fix `SocialHelper::TwitterMethods` tests so they work anywhere 2021-12-27 14:28:11 +01:00
Andreas Nedbal 8dd14e4a05 Fix `SocialHelper::TumblrMethods` tests so they work anywhere 2021-12-27 14:28:11 +01:00
Andreas Nedbal 719e393ed1 Add test for `Services::Tumblr` 2021-12-27 14:28:11 +01:00
Andreas Nedbal 4ddfba9a79 Add tests for `SocialHelper::TumblrMethods` 2021-12-26 22:07:58 +01:00
Andreas Nedbal b202a1f7e7 Add tests for `SocialHelper::TwitterMethods` 2021-12-26 22:07:42 +01:00
Karina Kwiatek 053ebafbc5
Merge pull request #213 from Retrospring/refactor/profile
Move profile fields to seperate table
2021-12-25 22:44:10 +01:00
Karina Kwiatek 570425821f Add test for handling answers that don't need to be shortened for tweets 2021-12-25 22:27:32 +01:00
Karina Kwiatek 3204aaa2e9 Add test for tweet shortening
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2021-12-25 22:08:20 +01:00
Karina Kwiatek fa025ced92 Update `Ajax::AnswerController` test to expect multiple `ShareWorker` jobs 2021-12-25 15:22:19 +01:00
Karina Kwiatek 65fa3ff018 Add test for updating user profile 2021-12-22 00:48:05 +01:00
Karina Kwiatek 00496a1596 Update remaining references to profile fields 2021-12-22 00:03:19 +01:00
Andreas Nedbal f8af42b16f fix user creation in test case 2021-10-03 21:52:07 +02:00
Andreas Nedbal 85210589cb add test case for user count on about page 2021-10-03 21:26:46 +02:00
Karina Kwiatek 89ce3e6e53
Merge pull request #184 from Retrospring/mobile-layout
Adjust site layout to be nicer to use on smaller screens
2021-08-13 12:11:38 +02:00
Karina Kwiatek f65875ae7e Add specs for theme-color helpers 2021-08-13 01:45:00 +02:00
Karina Kwiatek d81641ac18 Add theme model spec 2021-08-13 01:23:07 +02:00
Karina Kwiatek bd5995ef65 Add specs for `nav_entry` helper 2021-08-13 00:53:11 +02:00
Karina Kwiatek 6d49045368 Test if direct flag is being assigned correctly when a question is created 2021-08-12 00:19:36 +02:00
Karina Kwiatek 86d179d590
Merge branch 'master' into feature/opengraph 2021-08-08 14:24:05 +02:00
Karina Kwiatek c0107e2bc4 Add test for rails_admin_path_for_resource 2021-08-06 22:33:02 +02:00
Karina Kwiatek d08d0156dc Move graph helpers to separate module 2021-08-06 22:24:21 +02:00
Karina Kwiatek 7249e45989 Add tests for user_twitter_card and answer_opengraph 2021-08-06 21:38:51 +02:00
Karina Kwiatek 5b05c27091 Add test for ApplicationHelper#user_opengraph 2021-08-06 20:49:47 +02:00
Dominik Kwiatek 9558fbf9fe Add sign in tests 2020-12-25 02:07:37 +01:00
Dominik Kwiatek b4358772e1 Fix test for expired OTP 2020-11-15 21:27:38 +01:00
Dominik Kwiatek 4dc00a0114 Fix test for activating with expired code 2020-11-15 10:29:09 +01:00
Dominik Kwiatek aeb1396422 Add tests for recovery codes 2020-11-15 10:21:06 +01:00
Dominik Kwiatek f12d56ff7d Remove unused spec file for TotpRecoveryCode model 2020-11-01 19:25:49 +01:00
Dominik Kwiatek b4f479a00f Generate recovery keys on TOTP setup 2020-11-01 17:55:31 +01:00
Dominik Kwiatek 7f4d6cdc0f Remove #two_factor_entry test 2020-10-23 21:05:04 +02:00
Dominik Kwiatek d7a1750694 Implement @nilsding's review changes 2020-10-23 20:45:06 +02:00
Dominik Kwiatek 482b7992a9 Add test for #destroy_2fa endpoint 2020-10-21 16:52:59 +02:00
Dominik Kwiatek 55de0e45d2 Add test for #update_2fa endpoint 2020-10-21 16:47:07 +02:00
Dominik Kwiatek d3cc421225 Rename settings partials to match naming conventions 2020-10-21 13:49:12 +02:00
Dominik Kwiatek 556050aa66 Add tests for security settings page 2020-10-21 13:44:00 +02:00