fixed failing tests

This commit is contained in:
Phil Hughes 2017-12-11 17:52:52 +00:00
parent dec420feb3
commit e001f4b772
No known key found for this signature in database
GPG Key ID: 32245528C52E0F9F
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ describe TreeHelper do
before do
@id = sha
@project = project
@lfs_blobs = []
end
it 'displays all entries without a warning' do

View File

@ -9,6 +9,7 @@ describe 'projects/tree/show' do
before do
assign(:project, project)
assign(:repository, repository)
assign(:lfs_blobs, [])
allow(view).to receive(:can?).and_return(true)
allow(view).to receive(:can_collaborate_with_project?).and_return(true)