Sha256: 9add64e04b2d2de311cd83e0380426601bcb154cd5d9c362ed856cfeb742c292
Contents?: true
Size: 437 Bytes
Versions: 4
Compression:
Stored size: 437 Bytes
Contents
# -*- encoding : utf-8 -*- describe Card::EmailHtmlFormat do it "should render full urls" do Card::Env[:protocol] = 'http://' Card::Env[:host] = 'www.fake.com' render_content('[[B]]', :format=>'email_html').should == '<a class="known-card" href="http://www.fake.com/B">B</a>' end it "should render missing included cards as blank" do render_content('{{strombooby}}', :format=>'email_html').should == '' end end
Version data entries
4 entries across 4 versions & 1 rubygems