diff options
author | Douwe Maan <douwe@selenight.nl> | 2018-06-29 12:21:13 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2018-06-29 12:21:13 +0300 |
commit | ee2a9e0af0c91e4cc0d1c24acf35ff1eba1cc8db (patch) | |
tree | 5e001a3fd794e04f01082e80409f8a32fbf1c3c7 /spec | |
parent | 50a213112ee422bea6673cf15a8c4829ac8700ee (diff) |
Remove unused asset host logic from GfmPipeline and EmojiFilter spec
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/banzai/filter/emoji_filter_spec.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/lib/banzai/filter/emoji_filter_spec.rb b/spec/lib/banzai/filter/emoji_filter_spec.rb index 10910f22d4a..85a4619e33d 100644 --- a/spec/lib/banzai/filter/emoji_filter_spec.rb +++ b/spec/lib/banzai/filter/emoji_filter_spec.rb @@ -3,15 +3,6 @@ require 'spec_helper' describe Banzai::Filter::EmojiFilter do include FilterSpecHelper - before do - @original_asset_host = ActionController::Base.asset_host - ActionController::Base.asset_host = 'https://foo.com' - end - - after do - ActionController::Base.asset_host = @original_asset_host - end - it 'replaces supported name emoji' do doc = filter('<p>:heart:</p>') expect(doc.css('gl-emoji').first.text).to eq '❤' |