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