Commit 03de5a5ceea394e03120dcda709058fb0f2c1ab6
1 parent
0359f1d9
Exists in
master
and in
4 other branches
Typo in realtion name fixed
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
spec/models/project_spec.rb
| ... | ... | @@ -34,7 +34,7 @@ describe Project do |
| 34 | 34 | it { should have_many(:milestones).dependent(:destroy) } |
| 35 | 35 | it { should have_many(:users_projects).dependent(:destroy) } |
| 36 | 36 | it { should have_many(:notes).dependent(:destroy) } |
| 37 | - it { should have_many(:project_snippets).class_name('ProjectSnippet').dependent(:destroy) } | |
| 37 | + it { should have_many(:snippets).class_name('ProjectSnippet').dependent(:destroy) } | |
| 38 | 38 | it { should have_many(:deploy_keys).dependent(:destroy) } |
| 39 | 39 | it { should have_many(:hooks).dependent(:destroy) } |
| 40 | 40 | it { should have_many(:wikis).dependent(:destroy) } | ... | ... |