More controller specs (#2561)
* Add render_views in more places * Delegate methods from account to user with allow nil true, so that admin accounts show view renders when missing a user * Use actual account instances in authorize follow controller spec
This commit is contained in:
parent
0e2589867f
commit
9566893cc9
24 changed files with 53 additions and 7 deletions
|
@ -2,6 +2,7 @@ require 'rails_helper'
|
|||
|
||||
describe FollowingAccountsController do
|
||||
render_views
|
||||
|
||||
let(:alice) { Fabricate(:account, username: 'alice') }
|
||||
|
||||
describe 'GET #index' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue