Revision 9d43fc71
Added by Michael Moll almost 6 years ago
test/helpers/home_helper_test.rb | ||
---|---|---|
|
||
class HomeHelperTest < ActionView::TestCase
|
||
def test_menu_item_tag
|
||
item = Menu::Item.new(:test_good_menu, :url_hash => {:controller=>'hosts', :action=>'index'}, :after => :me, :turbolinks => false)
|
||
item = Menu::Item.new(:test_good_menu, :url_hash => {:controller => 'hosts', :action => 'index'}, :after => :me, :turbolinks => false)
|
||
tag = menu_item_tag(item)
|
||
|
||
assert tag.include?('data-no-turbolink')
|
Also available in: Unified diff
Fixes #19789 - fix Layout/SpaceAroundOperators cop