summaryrefslogtreecommitdiff
path: root/spec/models
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-15 15:19:14 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-15 15:19:14 +0200
commitb059de2ac7ad6f47a39ca124764c8e3e661e76f9 (patch)
treeb63a92e02d8ebe1f787e4ceea699cb5bc0fc6e55 /spec/models
parent2191efd8ec13f32922967a78e76929b57e1617e6 (diff)
downloadgitlab-ce-b059de2ac7ad6f47a39ca124764c8e3e661e76f9.tar.gz
Fix notes model specs
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/note_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/note_spec.rb b/spec/models/note_spec.rb
index 66450b244c1..52e24a78eb4 100644
--- a/spec/models/note_spec.rb
+++ b/spec/models/note_spec.rb
@@ -98,7 +98,7 @@ describe Note do
end
describe "Commit diff line notes" do
- let!(:note) { create(:note_on_commit_line, note: "+1 from me") }
+ let!(:note) { create(:note_on_commit_diff, note: "+1 from me") }
let!(:commit) { note.noteable }
it "should save a valid note" do
@@ -136,7 +136,7 @@ describe Note do
end
describe "Merge request diff line notes" do
- let!(:note) { create(:note_on_merge_request_line, note: "+1 from me") }
+ let!(:note) { create(:note_on_merge_request_diff, note: "+1 from me") }
it "should not be votable" do
note.should_not be_votable