Remove usage of assigns
in controller specs (#30195)
This commit is contained in:
parent
ae363f0555
commit
5b595b8a5a
13 changed files with 66 additions and 51 deletions
|
@ -13,7 +13,6 @@ RSpec.describe Admin::DomainAllowsController do
|
|||
it 'assigns a new domain allow' do
|
||||
get :new
|
||||
|
||||
expect(assigns(:domain_allow)).to be_instance_of(DomainAllow)
|
||||
expect(response).to have_http_status(200)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue