summaryrefslogtreecommitdiff
path: root/spec/models/project_spec.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-02 23:41:07 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-02 23:41:07 -0700
commitf40d4e6685ca749c69bfc480a747a430f6c9825f (patch)
tree0cfdb3e6276c6b4cce664b89c4da37f55adaac55 /spec/models/project_spec.rb
parent36efe0f5807e92c2a0b6ec71b828387e6684a9ab (diff)
parentec63804831d1a55171abfb7fc0894af20d4298e8 (diff)
downloadgitlab-ce-f40d4e6685ca749c69bfc480a747a430f6c9825f.tar.gz
Merge pull request #3597 from amacarthur/fork-pull-request
updated fork feature to use gitlab-shell for v5 of gitlab
Diffstat (limited to 'spec/models/project_spec.rb')
-rw-r--r--spec/models/project_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb
index fedf17b1ba0..b7eb7391072 100644
--- a/spec/models/project_spec.rb
+++ b/spec/models/project_spec.rb
@@ -40,6 +40,7 @@ describe Project do
it { should have_many(:deploy_keys).dependent(:destroy) }
it { should have_many(:hooks).dependent(:destroy) }
it { should have_many(:protected_branches).dependent(:destroy) }
+ it { should have_one(:forked_project_link).dependent(:destroy) }
end
describe "Mass assignment" do