def html_title(*args)
if args.empty?
- title = []
+ title = @html_title || []
title << @project.name if @project
- title += @html_title if @html_title
- title << Setting.app_title
+ title << Setting.app_title unless Setting.app_title == title.last
title.select {|t| !t.blank? }.join(' - ')
else
@html_title ||= []
:descendant => { :tag => 'fieldset',
:child => { :tag => 'legend',
:content => /Notes/ } }
+ assert_tag :tag => 'title',
+ :content => "Bug #1: Can't print recipes - eCookbook - Redmine"
end
def test_show_by_manager