Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19778
e93f8b46-1217-0410-a6f0-
8f06a7374b81
def context_menu_link(name, url, options={})
options[:class] ||= ''
if options.delete(:selected)
- options[:class] += ' icon-checked disabled'
+ options[:class] += ' icon icon-checked disabled'
options[:disabled] = true
end
if options.delete(:disabled)
assert_select 'a[href="#"]', :text => 'List'
assert_select 'ul' do
assert_select 'a', 3
- assert_select 'a.icon-checked', :text => 'Bar'
+ assert_select 'a.icon.icon-checked', :text => 'Bar'
end
end
end