diff --git a/test/factories.rb b/test/factories.rb index 06956d0..fb1ce5b 100644 --- a/test/factories.rb +++ b/test/factories.rb @@ -112,6 +112,7 @@ module Noosfero::Factory fast_update(person, {:home_page_id => homepage.id}) box = fast_insert(Box, { :owner_type => "Profile", :owner_id => person.id, :position => 1}) block = fast_insert(Block, { :box_id => box.id, :type => 'MainBlock', :position => 0}) + user.activate user end -- libgit2 0.21.2