Commit 0e35853
committed
fix(users_controller_spec): Stub author permissions
The alchemy admin base controller now has a timezone
feature, which checks the user to have at least author
permissions (`:edit_content`). We need to stub this as well
because we stub `can? :update_user` in this spec as well.1 parent e0a30b0 commit 0e35853
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
179 | 183 | | |
180 | 184 | | |
181 | 185 | | |
| |||
192 | 196 | | |
193 | 197 | | |
194 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
195 | 203 | | |
196 | 204 | | |
197 | 205 | | |
| |||
0 commit comments