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
1 changed files with 1 additions and 1 deletions

View File

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