Sha256: c9ed68d53715f1b1dc218997853f483a46e59c662f3db5af2cd0a07522ce638b

Contents?: true

Size: 398 Bytes

Versions: 1

Compression:

Stored size: 398 Bytes

Contents

require 'spec/spec_helper'

describe "esi nested" do
  
  it "nested1" do
    build_app('spec/tags/fixtures/nested/complex.html', {}).last.should == ["\n    BLAH!\n  "]
  end
  
  it "nested2" do
    build_app('spec/tags/fixtures/nested/complex.html', {'/include' => "<p>This is great</p>"}).last.should == ["\n    This is my include: <p>This is great</p>\n    Choice/true/Choice\n  "]
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
esi-for-rack-0.0.4 spec/tags/nested_spec.rb