Update rubocop and rubocop-rspec (#26329)
This commit is contained in:
@@ -7,8 +7,7 @@ describe Admin::FilterHelper do
|
||||
params = ActionController::Parameters.new(
|
||||
{ test: 'test' }
|
||||
)
|
||||
allow(helper).to receive(:params).and_return(params)
|
||||
allow(helper).to receive(:url_for).and_return('/test')
|
||||
allow(helper).to receive_messages(params: params, url_for: '/test')
|
||||
result = helper.filter_link_to('text', { resolved: true })
|
||||
|
||||
expect(result).to match(/text/)
|
||||
|
Reference in New Issue
Block a user