Project

General

Profile

Feature #2631 ยป 2631.patch

Go MAEDA, 2023-05-06 01:27

View differences:

app/views/news/show.html.erb
<%= breadcrumb link_to(l(:label_news_plural), {:controller => 'news', :action => 'index', :project_id => @project}) %>
<div class="contextual">
<%= watcher_link(@news, User.current) %>
<%= link_to(l(:button_edit),
test/functional/news_controller_test.rb
def test_show
get(:show, :params => {:id => 1})
assert_response :success
assert_select 'p.breadcrumb a[href=?]', '/projects/ecookbook/news', :text => 'News'
assert_select 'h2', :text => 'eCookbook first release !'
end
    (1-1/1)