diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-15 15:19:14 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-15 15:19:14 +0200 |
commit | b059de2ac7ad6f47a39ca124764c8e3e661e76f9 (patch) | |
tree | b63a92e02d8ebe1f787e4ceea699cb5bc0fc6e55 /spec/models | |
parent | 2191efd8ec13f32922967a78e76929b57e1617e6 (diff) | |
download | gitlab-ce-b059de2ac7ad6f47a39ca124764c8e3e661e76f9.tar.gz |
Fix notes model specs
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/note_spec.rb | 4 |
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 |