diff options
Diffstat (limited to 'spec/models/note_spec.rb')
-rw-r--r-- | spec/models/note_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/models/note_spec.rb b/spec/models/note_spec.rb index 4c1afd8a3b4..34683e4196a 100644 --- a/spec/models/note_spec.rb +++ b/spec/models/note_spec.rb @@ -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 |