fixed failing tests
This commit is contained in:
parent
dec420feb3
commit
e001f4b772
|
@ -9,6 +9,7 @@ describe TreeHelper do
|
|||
before do
|
||||
@id = sha
|
||||
@project = project
|
||||
@lfs_blobs = []
|
||||
end
|
||||
|
||||
it 'displays all entries without a warning' do
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue