Commit 18ba9d51 authored by Jason Goodman's avatar Jason Goodman Committed by Dominic Couture

Fix typo in spec

parent 5a75d310
...@@ -40,7 +40,7 @@ RSpec.describe Gitlab::ContentSecurityPolicy::ConfigLoader do ...@@ -40,7 +40,7 @@ RSpec.describe Gitlab::ContentSecurityPolicy::ConfigLoader do
describe '.default_directives' do describe '.default_directives' do
let(:directives) { described_class.default_directives } let(:directives) { described_class.default_directives }
it 'returns defaults directives' do it 'returns default directives' do
directive_names = (described_class::DIRECTIVES - ['report_uri']) directive_names = (described_class::DIRECTIVES - ['report_uri'])
directive_names.each do |directive| directive_names.each do |directive|
expect(directives.has_key?(directive)).to be_truthy expect(directives.has_key?(directive)).to be_truthy
......
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