Sha256: 9560d35c56a580f19278372b70bb3528263c1c938ae90a138dd6b4a0cf31bbb5
Contents?: true
Size: 319 Bytes
Versions: 21
Compression:
Stored size: 319 Bytes
Contents
require 'spec_helper' describe Alchemy::EssenceRichtext do it "should save a HTML tag free version of body column" do essence = Alchemy::EssenceRichtext.new(:body => '<h1>Hello!</h1><p>Welcome to Peters Petshop.</p>') essence.save! essence.stripped_body.should == "Hello!Welcome to Peters Petshop." end end
Version data entries
21 entries across 21 versions & 1 rubygems