Commit 85f09246 authored by Cyrine Gamoudi's avatar Cyrine Gamoudi

adding back described_class in identifier_spec.rb

parent 93ceae1b
...@@ -6,8 +6,7 @@ RSpec.describe Gitlab::Ci::Reports::Security::Identifier do ...@@ -6,8 +6,7 @@ RSpec.describe Gitlab::Ci::Reports::Security::Identifier do
using RSpec::Parameterized::TableSyntax using RSpec::Parameterized::TableSyntax
describe '#initialize' do describe '#initialize' do
# wrote the class explicitly because described_class kept returning Gitlab::identifier<module> subject { described_class.new(**params) }
subject { Gitlab::Ci::Reports::Security::Identifier.new(**params) }
let(:params) do let(:params) do
{ {
......
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