summaryrefslogtreecommitdiff
path: root/spec/helpers/graph_helper_spec.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-01-25 17:10:32 -0500
committerRobert Speicher <rspeicher@gmail.com>2017-01-25 17:10:32 -0500
commit2fe13fbc4b1012778e5cd36f676b2ee51c5caaa1 (patch)
tree9eff1aaf58e681507dfdbe5a2bdb25ce7516fc58 /spec/helpers/graph_helper_spec.rb
parentd55839120e92be48b30d248ce9d72a19be038c79 (diff)
downloadgitlab-ce-2fe13fbc4b1012778e5cd36f676b2ee51c5caaa1.tar.gz
Use `:empty_project` where possible in helper specsrs-empty_project-helpers
Diffstat (limited to 'spec/helpers/graph_helper_spec.rb')
-rw-r--r--spec/helpers/graph_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/graph_helper_spec.rb b/spec/helpers/graph_helper_spec.rb
index 51c49f0e587..400635abdde 100644
--- a/spec/helpers/graph_helper_spec.rb
+++ b/spec/helpers/graph_helper_spec.rb
@@ -2,7 +2,7 @@ require 'spec_helper'
describe GraphHelper do
describe '#get_refs' do
- let(:project) { create(:project) }
+ let(:project) { create(:project, :repository) }
let(:commit) { project.commit("master") }
let(:graph) { Network::Graph.new(project, 'master', commit, '') }