Commit 44762c66e6ee74c4ab21e31e4c3e86a8e54b26b5
1 parent
8e8f1e4d
Exists in
send_email_to_admins
and in
5 other branches
Ensure that tags_helper is loaded
Showing
2 changed files
with
6 additions
and
0 deletions
Show diff stats
app/views/blocks/tags.html.erb
test/functional/profile_design_controller_test.rb
... | ... | @@ -716,4 +716,9 @@ class ProfileDesignControllerTest < ActionController::TestCase |
716 | 716 | assert_equal assigns(:current_category), c1 |
717 | 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 | 724 | end | ... | ... |