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