Why can I visit authorized pages after destroy all users in a Capybara test?

后端 未结 0 1587
谎友^
谎友^ 2020-12-29 10:33

I have the following test:

RSpec.describe \'Users\', type: :system do
  before do
    sign_in create(:admin_user)
    create_list(:user, 10)
  end

  describe         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题