Commit e001f4b7 authored by Phil Hughes's avatar Phil Hughes

fixed failing tests

parent dec420fe
...@@ -9,6 +9,7 @@ describe TreeHelper do ...@@ -9,6 +9,7 @@ describe TreeHelper do
before do before do
@id = sha @id = sha
@project = project @project = project
@lfs_blobs = []
end end
it 'displays all entries without a warning' do it 'displays all entries without a warning' do
......
...@@ -9,6 +9,7 @@ describe 'projects/tree/show' do ...@@ -9,6 +9,7 @@ describe 'projects/tree/show' do
before do before do
assign(:project, project) assign(:project, project)
assign(:repository, repository) assign(:repository, repository)
assign(:lfs_blobs, [])
allow(view).to receive(:can?).and_return(true) allow(view).to receive(:can?).and_return(true)
allow(view).to receive(:can_collaborate_with_project?).and_return(true) allow(view).to receive(:can_collaborate_with_project?).and_return(true)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment