summaryrefslogtreecommitdiff
path: root/spec/controllers/merge_requests_controller_spec.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-22 21:03:52 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-22 21:03:52 +0200
commitc227aa44f9c54dd88f2ac8de7a3463a23f516dff (patch)
treeb274b673f3274e11db9aa2b7f1ca5b5a967a9fe8 /spec/controllers/merge_requests_controller_spec.rb
parent4b3afe2325e063943bdec123154a576f6a300bce (diff)
downloadgitlab-ce-c227aa44f9c54dd88f2ac8de7a3463a23f516dff.tar.gz
Make changes to tests
* project_with_code -> project * project -> ermpty_project Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/controllers/merge_requests_controller_spec.rb')
-rw-r--r--spec/controllers/merge_requests_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/merge_requests_controller_spec.rb b/spec/controllers/merge_requests_controller_spec.rb
index f237f358452..1502bded97f 100644
--- a/spec/controllers/merge_requests_controller_spec.rb
+++ b/spec/controllers/merge_requests_controller_spec.rb
@@ -1,7 +1,7 @@
require 'spec_helper'
describe Projects::MergeRequestsController do
- let(:project) { create(:project_with_code) }
+ let(:project) { create(:project) }
let(:user) { create(:user) }
let(:merge_request) { create(:merge_request_with_diffs, target_project: project, source_project: project, target_branch: "stable", source_branch: "master") }