RSpec double/mock instance variable from initializer

前端 未结 0 751
庸人自扰
庸人自扰 2020-12-04 02:28

I\'ve got a class where in initializer I need to call instance variable from parsed params:

class PrintResults
  include SortResults

  attr_accessor :views_h         


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