Commit 44762c66e6ee74c4ab21e31e4c3e86a8e54b26b5

Authored by Victor Costa
1 parent 8e8f1e4d

Ensure that tags_helper is loaded

app/views/blocks/tags.html.erb
  1 +<% extend TagsHelper %>
1 <%= block_title(block.title, block.subtitle) %> 2 <%= block_title(block.title, block.subtitle) %>
2 3
3 <% 4 <%
test/functional/profile_design_controller_test.rb
@@ -716,4 +716,9 @@ class ProfileDesignControllerTest &lt; ActionController::TestCase @@ -716,4 +716,9 @@ class ProfileDesignControllerTest &lt; ActionController::TestCase
716 assert_equal assigns(:current_category), c1 716 assert_equal assigns(:current_category), c1
717 end 717 end
718 718
  719 + should 'not fail when a profile has a tag block' do
  720 + a = create(Article, :name => 'my article', :profile_id => holder.id, :tag_list => 'tag')
  721 + @box1.blocks << TagsBlock.new
  722 + get :index, :profile => 'designtestuser'
  723 + end
719 end 724 end