Sha256: cb5f61e8bda036c6604155231705d39159762dba40c567d49b9578fa59c9c668
Contents?: true
Size: 457 Bytes
Versions: 27
Compression:
Stored size: 457 Bytes
Contents
require 'spec_helper' module Alchemy describe EssenceHtml do let (:essence) { EssenceHtml.new(source: '<p>hello!</p>') } it_behaves_like "an essence" do let(:essence) { EssenceHtml.new } let(:ingredient_value) { '<p>hello!</p>' } end describe '#preview_text' do it "should return html escaped source code" do expect(essence.preview_text).to eq('<p>hello!</p>') end end end end
Version data entries
27 entries across 27 versions & 2 rubygems