require_relative "../test_helper" class RawHTMLArticleTest < ActiveSupport::TestCase def setup @profile = create_user('testing').person end should 'not filter HTML' do article = RawHTMLArticle.create!( :name => 'Raw HTML', :body => 'HTML!
', :profile => @profile ) assert_equal 'HTML!', article.body end end