Commit 637b141d authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Remove unneeded stub

These specs don't really need it and this was causing a broken spec
in https://gitlab.com/gitlab-org/gitlab/-/issues/327668
parent a6785099
......@@ -30,7 +30,6 @@ RSpec.describe 'Epic Issues', :js do
before do
stub_licensed_features(epics: true, subepics: true)
stub_const('Epic', ::Epic, transfer_nested_constants: true)
end
def visit_epic
......
......@@ -15,10 +15,6 @@ RSpec.describe EpicLinks::CreateService do
let(:valid_reference) { epic_to_add.to_reference(full: true) }
before do
stub_const('Epic', ::Epic, transfer_nested_constants: true)
end
shared_examples 'system notes created' do
it 'creates system notes' do
expect { subject }.to change { Note.system.count }.from(0).to(2)
......
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