1
0
Fork 0
mirror of https://github.com/activerecord-hackery/ransack.git synced 2022-11-09 13:47:45 -05:00

make test case-insensitive - weird that it passed locally with ‘name’

and not ‘Name’.
This commit is contained in:
John Dell 2014-10-13 16:41:33 -07:00
parent c41c56722f
commit 1778584dd3

View file

@ -65,7 +65,7 @@ module Ransack
context 'with belongs_to association attributes' do context 'with belongs_to association attributes' do
it 'falls back to associated model + column name when no translation' do it 'falls back to associated model + column name when no translation' do
html = @f.label :group_name_cont html = @f.label :group_name_cont
expect(html).to match /Group name contains/ expect(html).to match /Group Name contains/i
end end
end end