Commit 747e360f6a002b7b90ecbd5c351cf554328ef737

Authored by Moises Machado
Committed by Antonio Terceiro
1 parent e1be5126

ActionItem908: fixed failing test on folder test file

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
test/unit/folder_test.rb
@@ -47,6 +47,7 @@ class FolderTest < ActiveSupport::TestCase @@ -47,6 +47,7 @@ class FolderTest < ActiveSupport::TestCase
47 end 47 end
48 48
49 should 'can display hits' do 49 should 'can display hits' do
  50 + profile = create_user('test_user').person
50 a = Folder.create!(:name => 'Test article', :profile => profile) 51 a = Folder.create!(:name => 'Test article', :profile => profile)
51 assert_equal false, a.can_display_hits? 52 assert_equal false, a.can_display_hits?
52 end 53 end