diff options
Diffstat (limited to 'spec/lib/gitlab/changelog/config_spec.rb')
-rw-r--r-- | spec/lib/gitlab/changelog/config_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/lib/gitlab/changelog/config_spec.rb b/spec/lib/gitlab/changelog/config_spec.rb index 51988acf3d1..2809843b832 100644 --- a/spec/lib/gitlab/changelog/config_spec.rb +++ b/spec/lib/gitlab/changelog/config_spec.rb @@ -37,7 +37,8 @@ RSpec.describe Gitlab::Changelog::Config do project, 'date_format' => 'foo', 'template' => 'bar', - 'categories' => { 'foo' => 'bar' } + 'categories' => { 'foo' => 'bar' }, + 'tag_regex' => 'foo' ) expect(config.date_format).to eq('foo') @@ -45,6 +46,7 @@ RSpec.describe Gitlab::Changelog::Config do .to be_instance_of(Gitlab::Changelog::AST::Expressions) expect(config.categories).to eq({ 'foo' => 'bar' }) + expect(config.tag_regex).to eq('foo') end it 'raises Error when the categories are not a Hash' do |