summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/gfm/reference_rewriter_spec.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-02-22 16:39:43 -0600
committerDouwe Maan <douwe@selenight.nl>2017-02-23 09:32:42 -0600
commitbdbc7d967a0c3d95d5e4ea19a2a5be41268d3540 (patch)
tree58899ea2583f1cf5f370f657f584a99d57954c9e /spec/lib/gitlab/gfm/reference_rewriter_spec.rb
parent0beba0251ca5bfbbc0c1a60c5b0b44c972f252cd (diff)
downloadgitlab-ce-bdbc7d967a0c3d95d5e4ea19a2a5be41268d3540.tar.gz
Revert "Enable Style/BarePercentLiterals"
This reverts commit 96bef54154e669f9a3e92c3a4bc76c0be3a52e48.
Diffstat (limited to 'spec/lib/gitlab/gfm/reference_rewriter_spec.rb')
-rw-r--r--spec/lib/gitlab/gfm/reference_rewriter_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/lib/gitlab/gfm/reference_rewriter_spec.rb b/spec/lib/gitlab/gfm/reference_rewriter_spec.rb
index 8625dd7b711..5d416c9eec3 100644
--- a/spec/lib/gitlab/gfm/reference_rewriter_spec.rb
+++ b/spec/lib/gitlab/gfm/reference_rewriter_spec.rb
@@ -68,12 +68,12 @@ describe Gitlab::Gfm::ReferenceRewriter do
context 'label referenced by id' do
let(:text) { '#1 and ~123' }
- it { is_expected.to eq %{#{project_ref}#1 and #{project_ref}~123} }
+ it { is_expected.to eq %Q{#{project_ref}#1 and #{project_ref}~123} }
end
context 'label referenced by text' do
let(:text) { '#1 and ~"test"' }
- it { is_expected.to eq %{#{project_ref}#1 and #{project_ref}~123} }
+ it { is_expected.to eq %Q{#{project_ref}#1 and #{project_ref}~123} }
end
end
@@ -88,12 +88,12 @@ describe Gitlab::Gfm::ReferenceRewriter do
context 'label referenced by id' do
let(:text) { '#1 and ~321' }
- it { is_expected.to eq %{#{project_ref}#1 and #{project_ref}~321} }
+ it { is_expected.to eq %Q{#{project_ref}#1 and #{project_ref}~321} }
end
context 'label referenced by text' do
let(:text) { '#1 and ~"group label"' }
- it { is_expected.to eq %{#{project_ref}#1 and #{project_ref}~321} }
+ it { is_expected.to eq %Q{#{project_ref}#1 and #{project_ref}~321} }
end
end
end