Fix spec failure introduced by 9d03bc6fa3
This commit is contained in:
parent
9d03bc6fa3
commit
a1d3b8d7fa
|
@ -278,7 +278,7 @@ describe ApplicationHelper do
|
|||
el = element.next_element
|
||||
|
||||
expect(el.name).to eq 'script'
|
||||
expect(el.text).to include "$('.js-timeago').timeago()"
|
||||
expect(el.text).to include "$('.js-timeago').last().timeago()"
|
||||
end
|
||||
|
||||
it 'allows the script tag to be excluded' do
|
||||
|
|
Loading…
Reference in New Issue