Commit Graph

73 Commits

Author SHA1 Message Date
Andreas Nedbal cb19d54a97 Fix errors in test cases 2022-02-13 23:41:50 +01:00
Andreas Nedbal 544c184981 Fix expected flash texts in `ServicesController` tests 2022-01-29 20:08:41 +01:00
Andreas Nedbal c2b448ae8c Fix codestyle of announcement controller spec 2022-01-25 22:31:25 +01:00
Andreas Nedbal a28f581aed Add tests announcement failure cases 2022-01-25 22:31:25 +01:00
Karina Kwiatek 8d59ef9398 Use `screen_name` instead of `target_user` param in `Ajax::RelationshipController` 2022-01-23 16:48:53 +01:00
Karina Kwiatek b4e0699e82 Fix lint errors 2022-01-23 16:48:53 +01:00
Karina Kwiatek d609435f7c Update `Ajax::RelationshipController` to use usernames; Test Use Case 2022-01-23 16:48:53 +01:00
Karina Kwiatek ce57414595 Update `UserController` tests to match rename of followings 2022-01-23 16:48:53 +01:00
Karina Kwiatek 3962671135 Implement relationship logic as use case 2022-01-23 16:48:53 +01:00
Karina Kwiatek ce951453a2 Make relationships polymorphic 2022-01-23 16:48:53 +01:00
Andreas Nedbal d56dfc02f9 Move consent POST-logic to separate action 2022-01-22 22:50:32 +01:00
Andreas Nedbal 3711c676da Fix Ruby codestyle 2022-01-22 22:50:32 +01:00
Andreas Nedbal 067dfc3a50 Add tests for `FeedbackController` 2022-01-22 22:50:32 +01:00
Karina Kwiatek b167c4e938 Add tests for privacy settings 2022-01-13 21:42:06 +01:00
Karina Kwiatek 136e2fa016
Merge pull request #272 from Retrospring/feature/social-post-tagging
Add the ability to post to services with a tag
2022-01-07 19:40:52 +01:00
Karina Kwiatek 683fffd734 Add the ability to post to services with a tag 2022-01-05 19:49:59 +01:00
Karina Kwiatek d06e2c97b2 Add test for blanking out a user's profile if they were banned for spam 2022-01-02 19:50:44 +01:00
Karina Kwiatek 7677ed21a4 Update tests for unbanning users 2022-01-02 19:50:44 +01:00
Karina Kwiatek 0659ff1f9a Update tests for unbanning users 2022-01-02 19:50:44 +01:00
Karina Kwiatek 6500d7ac71 Update usages of bans 2022-01-02 19:50:44 +01:00
Karina Kwiatek b7ce9cdbba
Merge pull request #222 from Retrospring/feature/muting 2022-01-02 15:31:49 +01:00
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
Karina Kwiatek 6c0e6b1d30 Create mute rules AJAX controller 2022-01-01 00:38:38 +01:00
Andreas Nedbal bc65b42b02 Add tests for `StaticController#linkfilter` 2021-12-31 22:40:38 +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
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 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
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 6d49045368 Test if direct flag is being assigned correctly when a question is created 2021-08-12 00:19:36 +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 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
Dominik Kwiatek febcf347ee Add basic login form tests 2020-10-20 11:44:20 +02:00
Dominik Kwiatek 00da21a13d Redirect away from two factor entry page if no target user is set in session 2020-10-19 12:20:44 +02:00
Dominik M. Kwiatek 4c7ec05198 Address @nilsding's review comments 2020-05-27 22:27:54 +01:00
Dominik M. Kwiatek e512d5502d Mock verify_captcha 2020-05-27 21:47:27 +01:00
Dominik M. Kwiatek c4fb5d1db9 Add registration tests 2020-05-27 20:07:39 +01:00
Dominik M. Kwiatek 9f01da8e03 Remove registrations_controller_spec.rb 2020-05-27 20:07:39 +01:00