Commit aea182e2a12c110b05da554b2108da8dac57f055
Committed by
Leandro Santos
1 parent
1fd71cf1
Exists in
stable-1.5
and in
1 other branch
should not fail adding tags block profiles
Showing
2 changed files
with
8 additions
and
1 deletions
Show diff stats
app/views/blocks/tags.html.erb
test/functional/profile_design_controller_test.rb
... | ... | @@ -711,4 +711,10 @@ class ProfileDesignControllerTest < ActionController::TestCase |
711 | 711 | end |
712 | 712 | end |
713 | 713 | |
714 | + should 'not fail when a profile has a tag block' do | |
715 | + a = create(Article, :name => 'my article', :profile_id => holder.id, :tag_list => 'tag') | |
716 | + @box1.blocks << TagsBlock.new | |
717 | + get :index, :profile => 'designtestuser' | |
718 | + end | |
719 | + | |
714 | 720 | end | ... | ... |