diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2017-04-24 14:57:11 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2017-04-24 14:57:11 +0300 |
commit | 1f3b410bcf639792b08c6d0c4a1b3499390b55ce (patch) | |
tree | 46b72c51e34b5401095c609b99c57eba24a37107 /spec/lib | |
parent | bc695e264c1976d85b8f03868bd7efb967602902 (diff) | |
download | gitlab-ce-1f3b410bcf639792b08c6d0c4a1b3499390b55ce.tar.gz |
Fix outdated specs that were not executed due to wrong filename
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/gitlab/other_markup_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/lib/gitlab/other_markup_spec.rb b/spec/lib/gitlab/other_markup_spec.rb index 8f5a353b381..22e80ec46be 100644 --- a/spec/lib/gitlab/other_markup_spec.rb +++ b/spec/lib/gitlab/other_markup_spec.rb @@ -1,12 +1,14 @@ require 'spec_helper' describe Gitlab::OtherMarkup, lib: true do + let(:context) { {} } + context "XSS Checks" do links = { 'links' => { file: 'file.rdoc', input: 'XSS[JaVaScriPt:alert(1)]', - output: '<p><a>XSS</a></p>' + output: "\n" + '<p><a>XSS</a></p>' + "\n" } } links.each do |name, data| |