summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorAndrew8xx8 <avk@8xx8.ru>2013-03-25 16:35:57 +0400
committerAndrew8xx8 <avk@8xx8.ru>2013-03-25 16:35:57 +0400
commit03de5a5ceea394e03120dcda709058fb0f2c1ab6 (patch)
tree616af593c31654bcff98ba88635556237ded9c8d /spec
parent0359f1d9ec286fbbf58027e2cdb2a307806f54da (diff)
downloadgitlab-ce-03de5a5ceea394e03120dcda709058fb0f2c1ab6.tar.gz
Typo in realtion name fixed
Diffstat (limited to 'spec')
-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 17033973dfe..00ca0bf5e2e 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(:project_snippets).class_name('ProjectSnippet').dependent(:destroy) }
+ it { should have_many(: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) }