Commit ed43a23
committed
Fix Devise mapping not found error in Rails 8
This fixes a Devise mapping error on system tests.
```
E
Error:
AdminUsersTest#test_visiting_the_edit:
RuntimeError: Could not find a valid mapping for #<AdminUser id: 1, email: [FILTERED], created_at: "2025-09-25 21:07:53.971537000 +0000", updated_at: "2025-09-25 21:07:53.971537000 +0000">
test/system/active_admin/admin_users_test.rb:42:in 'block in <class:AdminUsersTest>'
bin/rails test test/system/active_admin/admin_users_test.rb:41
```1 parent d500246 commit ed43a23
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
7 | 13 | | |
0 commit comments