Sha256: a55f6ee165bc49f1c65038c7ce267d4f47add58a3c571a32497a57ca850208df

Contents?: true

Size: 580 Bytes

Versions: 16

Compression:

Stored size: 580 Bytes

Contents

require File.join(File.dirname(__FILE__), '..', '..', 'spec_helper')

describe HtmlEmailCreator::IncludeTag do
    
  it "should return user's home directory based email directory" do
    run_in_fixture_dir("with_config") do
      Liquid::Template.parse("{% include 'Quotes/henry_ford.txt' what: 'door' %}").render({}).should == "A bore is a person who opens his door and puts his feats in it."
      Liquid::Template.parse("{% include 'Quotes/henry_ford.txt' what: 'car' %}").render({}).should == "A bore is a person who opens his car and puts his feats in it."
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
html_email_creator-1.0.18 spec/html_email_creator/tags/include_tag_spec.rb
html_email_creator-1.0.16 spec/html_email_creator/tags/include_tag_spec.rb
html_email_creator-1.0.15 spec/html_email_creator/tags/include_tag_spec.rb
html_email_creator-1.0.14 spec/html_email_creator/tags/include_tag_spec.rb
html_email_creator-1.0.13 spec/html_email_creator/tags/include_tag_spec.rb
html_email_creator-1.0.10 spec/html_email_creator/tags/include_tag_spec.rb
html_email_creator-1.0.9 spec/html_email_creator/tags/include_tag_spec.rb
html_email_creator-1.0.8 spec/html_email_creator/tags/include_tag_spec.rb
html_email_creator-1.0.7 spec/html_email_creator/tags/include_tag_spec.rb
html_email_creator-1.0.6 spec/html_email_creator/tags/include_tag_spec.rb
html_email_creator-1.0.5 spec/html_email_creator/tags/include_tag_spec.rb
html_email_creator-1.0.4 spec/html_email_creator/tags/include_tag_spec.rb
html_email_creator-1.0.3 spec/html_email_creator/tags/include_tag_spec.rb
html_email_creator-1.0.2 spec/html_email_creator/tags/include_tag_spec.rb
html_email_creator-1.0.1 spec/html_email_creator/tags/include_tag_spec.rb
html_email_creator-1.0.0 spec/html_email_creator/tags/include_tag_spec.rb