diff options
author | Sytse Sijbrandij <sytse@gitlab.com> | 2015-08-05 12:57:27 +0300 |
---|---|---|
committer | Sytse Sijbrandij <sytse@gitlab.com> | 2015-08-05 12:57:27 +0300 |
commit | 764124c38096ff29a00a0fefbc1a279a32f1bca7 (patch) | |
tree | 2890028d199c67cef28007651f45c56428c4f315 /spec/models | |
parent | c8d00787c265a6920ea082c621ffc9c1f6ea960c (diff) | |
parent | 6353ca9ae85ec42bb5f6d45d4158f50067d34cf7 (diff) |
Merge branch 'revert_touch' into 'master'
Revert "Update noteable after a new note is added"
This reverts commit fbdaf0e2a517660c0e4e3960f20b2d3568c33e78.
https://gitlab.com/gitlab-org/gitlab-ce/issues/2027
See merge request !1094
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 |