Update rubocop-rspec to version 3.10.1 (#39303)
This commit is contained in:
1 parent
4ee21a6c14
commit
fc64804b4d
12 files changed
+24
-22
No files matched your search
@@ -10,12 +10,12 @@ RSpec.describe Admin::FilterHelper do
|
||||
allow(helper).to receive_messages(params: params, url_for: '/test')
|
||||
result = helper.filter_link_to('text', { resolved: true })
|
||||
|
||||
expect(result).to match(/text/)
|
||||
expect(result).to include('text')
|
||||
end
|
||||
|
||||
it 'Uses table_link_to to create icon links' do
|
||||
result = helper.table_link_to 'icon', 'text', 'path'
|
||||
|
||||
expect(result).to match(/text/)
|
||||
expect(result).to include('text')
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user