Remove cop tags

parent 484d9c56
......@@ -27,12 +27,10 @@ RSpec.describe Projects::OnDemandScansHelper do
describe '#on_demand_scans_form_data' do
let_it_be(:timezones) { [{ identifier: "Europe/Paris" }] }
# rubocop: disable CodeReuse/ActiveRecord
before do
allow(project).to receive(:default_branch).and_return("default-branch")
allow(helper).to receive(:timezone_data).with(format: :full).and_return(timezones)
end
# rubocop: enable CodeReuse/ActiveRecord
it 'returns proper data' do
expect(helper.on_demand_scans_form_data(project)).to match(
......
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