summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorKatarzyna Kobierska <kkobierska@gmail.com>2016-09-02 15:36:59 +0200
committerKatarzyna Kobierska <kkobierska@gmail.com>2016-09-13 14:40:05 +0200
commit31c37c6c38258684fc92e0d91119c33872e39034 (patch)
tree779b02b20460e897791e8571c50cf5dd2cc70d79 /spec
parent09cded29d8b86cafbcfaed57b1d915588195f69f (diff)
downloadgitlab-ce-31c37c6c38258684fc92e0d91119c33872e39034.tar.gz
Add #closed_without_source_project?
Diffstat (limited to 'spec')
-rw-r--r--spec/controllers/projects_controller_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/controllers/projects_controller_spec.rb b/spec/controllers/projects_controller_spec.rb
index 4f5741f1647..da75f4ccd2c 100644
--- a/spec/controllers/projects_controller_spec.rb
+++ b/spec/controllers/projects_controller_spec.rb
@@ -186,9 +186,9 @@ describe ProjectsController do
let(:project) { create(:project) }
let(:fork_project) { create(:project, forked_from_project: project) }
let(:merge_request) do
- create(:merge_request,
- source_project: fork_project,
- target_project: project)
+ create(:merge_request,
+ source_project: fork_project,
+ target_project: project)
end
it "closes all related merge requests" do