After update to Rails 5 rspec tests fails

后端 未结 0 1127
暗喜
暗喜 2021-01-03 15:34

I have scope test that started to give error after the update

Scope:

scope :available_nil, -> { where(available_at: nil) }

Test:

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