diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-08-05 12:00:12 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-08-05 12:00:12 +0300 |
commit | 6353ca9ae85ec42bb5f6d45d4158f50067d34cf7 (patch) | |
tree | e50bf22faa4d646849cd140bc4fa3b2bf8455bcb /spec/models | |
parent | 326b827ce39f998ce75f58e9f649e6b50623f1aa (diff) |
Revert "Update noteable after a new note is added"
This reverts commit fbdaf0e2a517660c0e4e3960f20b2d3568c33e78.
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/note_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/note_spec.rb b/spec/models/note_spec.rb index eba33dd510f..250d1e2da80 100644 --- a/spec/models/note_spec.rb +++ b/spec/models/note_spec.rb @@ -22,7 +22,7 @@ require 'spec_helper' describe Note do describe 'associations' do it { is_expected.to belong_to(:project) } - it { is_expected.to belong_to(:noteable).touch(true) } + it { is_expected.to belong_to(:noteable) } it { is_expected.to belong_to(:author).class_name('User') } end |