Merge branch 'master' into discussions
Conflicts: app/assets/stylesheets/main.scss app/models/project.rb app/views/notes/_common_form.html.haml app/views/notes/_per_line_form.html.haml lib/gitlab/markdown.rb spec/models/note_spec.rb
This commit is contained in:
commit
db2c15369c
276 changed files with 4466 additions and 2603 deletions
|
@ -80,13 +80,13 @@ describe Note do
|
|||
let!(:commit) { note.noteable }
|
||||
|
||||
it "should be accessible through #noteable" do
|
||||
note.noteable_id.should == commit.id
|
||||
note.commit_id.should == commit.id
|
||||
note.noteable.should be_a(Commit)
|
||||
note.noteable.should == commit
|
||||
end
|
||||
|
||||
it "should save a valid note" do
|
||||
note.noteable_id.should == commit.id
|
||||
note.commit_id.should == commit.id
|
||||
note.noteable == commit
|
||||
end
|
||||
|
||||
|
@ -104,7 +104,7 @@ describe Note do
|
|||
let!(:commit) { note.noteable }
|
||||
|
||||
it "should save a valid note" do
|
||||
note.noteable_id.should == commit.id
|
||||
note.commit_id.should == commit.id
|
||||
note.noteable.id.should == commit.id
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue