diff --git a/app/views/layouts/application.rhtml b/app/views/layouts/application.rhtml index 4309425..341ebea 100644 --- a/app/views/layouts/application.rhtml +++ b/app/views/layouts/application.rhtml @@ -42,6 +42,7 @@ <%= stylesheet_link_tag '/designs/templates/default/stylesheets/style.css' %> <%= stylesheet_link_tag '/designs/icons/default/style.css' %> + { :id => 'user_box' }, :descendant => { :tag => 'a', :attributes => { :href => 'http://web.mail/' } } end + should 'use environment top_url as base' do + Environment.any_instance.expects(:top_url).returns('http://www.lala.net') + get :index + assert_tag :tag => 'base', :attributes => { :href => 'http://www.lala.net' } + end + end -- libgit2 0.21.2