diff options
author | Phil Hughes <me@iamphill.com> | 2017-12-11 17:52:52 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-12-11 17:52:52 +0000 |
commit | e001f4b77265fb5430bab0271a5838df388cf8ea (patch) | |
tree | 935e374cf34f9e2e5c66218c4374d45b40c0209e | |
parent | dec420feb39975fefd15460f372369071c346d53 (diff) | |
download | gitlab-ce-e001f4b77265fb5430bab0271a5838df388cf8ea.tar.gz |
fixed failing tests
-rw-r--r-- | spec/helpers/tree_helper_spec.rb | 1 | ||||
-rw-r--r-- | spec/views/projects/tree/show.html.haml_spec.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/spec/helpers/tree_helper_spec.rb b/spec/helpers/tree_helper_spec.rb index c358ccae9c3..c6ee06ef8d7 100644 --- a/spec/helpers/tree_helper_spec.rb +++ b/spec/helpers/tree_helper_spec.rb @@ -9,6 +9,7 @@ describe TreeHelper do before do @id = sha @project = project + @lfs_blobs = [] end it 'displays all entries without a warning' do diff --git a/spec/views/projects/tree/show.html.haml_spec.rb b/spec/views/projects/tree/show.html.haml_spec.rb index 3c25e341b39..9769f28e546 100644 --- a/spec/views/projects/tree/show.html.haml_spec.rb +++ b/spec/views/projects/tree/show.html.haml_spec.rb @@ -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) |