summaryrefslogtreecommitdiff
path: root/spec/views/projects/commit/_commit_box.html.haml_spec.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-03-27 16:20:27 -0400
committerRobert Speicher <rspeicher@gmail.com>2017-03-27 18:45:37 -0400
commit985a0c39ef29db3c3c2c3aa386b2d332d9e98018 (patch)
treee7d8556bf73ade43639dd2f8c25797959968395d /spec/views/projects/commit/_commit_box.html.haml_spec.rb
parent02ccf750eee0605e5ff4c8d964011163656ee67d (diff)
downloadgitlab-ce-985a0c39ef29db3c3c2c3aa386b2d332d9e98018.tar.gz
Use Project `:repository` trait where necessary in view specs
Diffstat (limited to 'spec/views/projects/commit/_commit_box.html.haml_spec.rb')
-rw-r--r--spec/views/projects/commit/_commit_box.html.haml_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/views/projects/commit/_commit_box.html.haml_spec.rb b/spec/views/projects/commit/_commit_box.html.haml_spec.rb
index 8bc344bfbf6..cec87dcecc8 100644
--- a/spec/views/projects/commit/_commit_box.html.haml_spec.rb
+++ b/spec/views/projects/commit/_commit_box.html.haml_spec.rb
@@ -4,7 +4,7 @@ describe 'projects/commit/_commit_box.html.haml' do
include Devise::Test::ControllerHelpers
let(:user) { create(:user) }
- let(:project) { create(:project) }
+ let(:project) { create(:project, :repository) }
before do
assign(:project, project)