Commit b9c2f021 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'fj-197185-fix-broken-master' into 'master'

Fix broken master in spec/lib/gitlab/data_builder/note_spec.rb

See merge request gitlab-org/gitlab!23191
parents 7e04dfdc e7b27f3c
......@@ -137,7 +137,7 @@ describe Gitlab::DataBuilder::Note do
it 'returns the note and project snippet data' do
expect(data).to have_key(:snippet)
expect(data[:snippet].except('updated_at'))
.to eq(snippet.reload.hook_attrs.except('updated_at'))
.to eq(snippet.hook_attrs.except('updated_at'))
expect(data[:snippet]['updated_at'])
.to be >= snippet.hook_attrs['updated_at']
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment