summaryrefslogtreecommitdiff
path: root/spec/controllers/commit_controller_spec.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-04-01 18:16:08 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-04-01 18:16:08 +0300
commitf5dec306fda53a6b2e90f64c0407077ab0022e8f (patch)
tree3b75866434840e682803f2a0264db85c6dd3ff3d /spec/controllers/commit_controller_spec.rb
parent9a26e9a0d634c8bb796f0b08f6397d1e343bd4be (diff)
downloadgitlab-ce-f5dec306fda53a6b2e90f64c0407077ab0022e8f.tar.gz
Use project_with_code factory where necessary
Diffstat (limited to 'spec/controllers/commit_controller_spec.rb')
-rw-r--r--spec/controllers/commit_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/commit_controller_spec.rb b/spec/controllers/commit_controller_spec.rb
index 7bf13822829..5fffbf0e5f3 100644
--- a/spec/controllers/commit_controller_spec.rb
+++ b/spec/controllers/commit_controller_spec.rb
@@ -1,7 +1,7 @@
require 'spec_helper'
describe CommitController do
- let(:project) { create(:project) }
+ let(:project) { create(:project_with_code) }
let(:user) { create(:user) }
let(:commit) { project.repository.last_commit_for("master") }