summaryrefslogtreecommitdiff
path: root/spec/models/project_spec.rb
diff options
context:
space:
mode:
authorAndrew8xx8 <avk@8xx8.ru>2013-03-25 11:20:14 +0400
committerAndrew8xx8 <avk@8xx8.ru>2013-03-25 11:20:14 +0400
commitd4543eb5a71bd3aa5bfc24f9fadf07e4fe3d461d (patch)
tree90feed929a77419df84d69869de2a73a5be17bd9 /spec/models/project_spec.rb
parent611ac727450b4fb9214e428cd91f7913d48ed7d8 (diff)
downloadgitlab-ce-d4543eb5a71bd3aa5bfc24f9fadf07e4fe3d461d.tar.gz
Tests fixed
Diffstat (limited to 'spec/models/project_spec.rb')
-rw-r--r--spec/models/project_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb
index 9423c7de6ec..17033973dfe 100644
--- a/spec/models/project_spec.rb
+++ b/spec/models/project_spec.rb
@@ -34,7 +34,7 @@ describe Project do
it { should have_many(:milestones).dependent(:destroy) }
it { should have_many(:users_projects).dependent(:destroy) }
it { should have_many(:notes).dependent(:destroy) }
- it { should have_many(:snippets).dependent(:destroy) }
+ it { should have_many(:project_snippets).class_name('ProjectSnippet').dependent(:destroy) }
it { should have_many(:deploy_keys).dependent(:destroy) }
it { should have_many(:hooks).dependent(:destroy) }
it { should have_many(:wikis).dependent(:destroy) }