0
0
Fork 0

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:
Matt Jankowski 2017-04-28 09:12:37 -04:00 committed by Eugen Rochko
parent 0e2589867f
commit 9566893cc9
24 changed files with 53 additions and 7 deletions

View file

@ -2,6 +2,7 @@ require 'rails_helper'
describe FollowingAccountsController do
render_views
let(:alice) { Fabricate(:account, username: 'alice') }
describe 'GET #index' do