Commit a190190c authored by Rémy Coutable's avatar Rémy Coutable Committed by Bob Van Landuyt

Fix a 'RSpec/ContextMethod' offense

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent c0207dfa
...@@ -36,7 +36,7 @@ describe 'NotesHelpers' do ...@@ -36,7 +36,7 @@ describe 'NotesHelpers' do
stub_licensed_features(epics: true) stub_licensed_features(epics: true)
end end
context '#find_noteable' do describe '#find_noteable' do
it 'returns the expected epic' do it 'returns the expected epic' do
allow(subject).to receive(:user_group).and_return(group) allow(subject).to receive(:user_group).and_return(group)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe Ci::CreatePipelineService do describe Ci::CreatePipelineService do
context '.pre/.post stages' do describe '.pre/.post stages' do
let_it_be(:user) { create(:admin) } let_it_be(:user) { create(:admin) }
let_it_be(:project) { create(:project, :repository, creator: user) } let_it_be(:project) { create(:project, :repository, creator: user) }
......
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