# frozen_string_literal: true require 'spec_helper' describe Banzai::Filter::AsciiDocPostProcessingFilter do include FilterSpecHelper it "adds class for elements with data-math-style" do result = filter('
some code
and
').to_html expect(result).to eq('
some code
and
') end it "keeps content when no data-math-style found" do result = filter('
some code
and
').to_html expect(result).to eq('
some code
and
') end end