spec/mods/standard/sets/all/email_html_spec.rb in wagn-1.12.13 vs spec/mods/standard/sets/all/email_html_spec.rb in wagn-1.13.0.pre

- old
+ new

@@ -1,11 +1,10 @@ # -*- encoding : utf-8 -*- -require 'wagn/spec_helper' describe Card::EmailHtmlFormat do it "should render full urls" do - Wagn::Env[:protocol] = 'http://' - Wagn::Env[:host] = 'www.fake.com' + 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 == ''