Skip to content

Commit

Permalink
fix specs by adding methodology content
Browse files Browse the repository at this point in the history
  • Loading branch information
caitmich committed Jun 27, 2024
1 parent 742c1be commit 3fffcf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/jobs/kit_import_job_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
end

it 'renames methodology templates if template with same name already exists' do
methodology = Methodology.new(filename: 'OWASPv4_Testing_Methodology')
methodology = Methodology.new(filename: 'OWASPv4_Testing_Methodology', content: '<xml/>')
methodology.save

described_class.new.perform(@tmp_file, logger: Log.new.write('Testing...'))
Expand Down

0 comments on commit 3fffcf1

Please sign in to comment.