summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/other_markup_spec.rb
diff options
context:
space:
mode:
authorToon Claes <toon@gitlab.com>2017-04-24 12:20:46 +0200
committerToon Claes <toon@gitlab.com>2017-04-27 13:22:17 +0200
commita53442751f77cd586a511c5a539341377ec22807 (patch)
tree8ec5d15a4324884c8ddf0c500f1728c7cadd3940 /spec/lib/gitlab/other_markup_spec.rb
parent677101b916a6a1b0a0f38a3e78c2c7c1ea8f9a74 (diff)
downloadgitlab-ce-a53442751f77cd586a511c5a539341377ec22807.tar.gz
Fix failing specs
Diffstat (limited to 'spec/lib/gitlab/other_markup_spec.rb')
-rw-r--r--spec/lib/gitlab/other_markup_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/other_markup_spec.rb b/spec/lib/gitlab/other_markup_spec.rb
index 22e80ec46be..d6d53e8586c 100644
--- a/spec/lib/gitlab/other_markup_spec.rb
+++ b/spec/lib/gitlab/other_markup_spec.rb
@@ -13,7 +13,7 @@ describe Gitlab::OtherMarkup, lib: true do
}
links.each do |name, data|
it "does not convert dangerous #{name} into HTML" do
- expect(render(data[:file], data[:input], context)).to eql data[:output]
+ expect(render(data[:file], data[:input])).to eq(data[:output])
end
end
end