Skip to content
Snippets Groups Projects
Commit b059de2a authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix notes model specs

parent 2191efd8
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment