Sha256: b948117fd998316b5594a29c803d65a483487f2a1292aa412806a95c26fb9604
Contents?: true
Size: 301 Bytes
Versions: 12
Compression:
Stored size: 301 Bytes
Contents
require 'spec_helper' describe EssenceRichtext do it "should save a HTML tag free version of body column" do essence = 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
12 entries across 12 versions & 1 rubygems