diff options
author | Jarka Kadlecova <jarka@gitlab.com> | 2017-07-10 10:38:42 +0300 |
---|---|---|
committer | Jarka Kadlecova <jarka@gitlab.com> | 2017-07-24 09:13:43 +0300 |
commit | 7bee7b848aab883a6869e1fd2fbb9e66182d2023 (patch) | |
tree | 286029930e7c9af9402a752a1dd6f2ab9c607776 /spec/lib/banzai/filter/external_issue_reference_filter_spec.rb | |
parent | 2fa22a07296223c1239bfab94654487cca222097 (diff) |
Support both internal and external issue trackers
Diffstat (limited to 'spec/lib/banzai/filter/external_issue_reference_filter_spec.rb')
-rw-r--r-- | spec/lib/banzai/filter/external_issue_reference_filter_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/lib/banzai/filter/external_issue_reference_filter_spec.rb b/spec/lib/banzai/filter/external_issue_reference_filter_spec.rb index b7d82c36ddd..fb320e0148a 100644 --- a/spec/lib/banzai/filter/external_issue_reference_filter_spec.rb +++ b/spec/lib/banzai/filter/external_issue_reference_filter_spec.rb @@ -108,6 +108,11 @@ describe Banzai::Filter::ExternalIssueReferenceFilter, lib: true do let(:issue) { ExternalIssue.new("#123", project) } let(:reference) { issue.to_reference } + before do + project.issues_enabled = false + project.save! + end + it_behaves_like "external issue tracker" end |