Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-03-18 16:48:55 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-03-19 20:46:01 +0300
commit9b13ce0b7a50e65dfba31d4865a728c725daa3fe (patch)
treebe153fe1447886f53975123b0214a6d1d6b608d1 /spec/lib/gitlab/reference_extractor_spec.rb
parentfcf106897e2ff38e16e785ad9bcb18d117490fbf (diff)
Improvements in issue move feaure (refactoring)
According to endbosses' suggestions.
Diffstat (limited to 'spec/lib/gitlab/reference_extractor_spec.rb')
-rw-r--r--spec/lib/gitlab/reference_extractor_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/lib/gitlab/reference_extractor_spec.rb b/spec/lib/gitlab/reference_extractor_spec.rb
index 78ab162e5d6..ba47a3540ff 100644
--- a/spec/lib/gitlab/reference_extractor_spec.rb
+++ b/spec/lib/gitlab/reference_extractor_spec.rb
@@ -134,4 +134,9 @@ describe Gitlab::ReferenceExtractor, lib: true do
expect(subject.all).to match_array([issue, label])
end
end
+
+ describe '.references_pattern' do
+ subject { described_class.references_pattern }
+ it { is_expected.to be_kind_of Regexp }
+ end
end