Rspec calling a function rails

前端 未结 0 1203
南旧
南旧 2021-01-04 13:19

I\'m using the RSpec gem.

In my controller, I have a before action

  before_action :require_user, except: %i[show index]

require_user

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