Sha256: ac47883b5f1217aab4598b2030003848e1196d32d9141c524e2e87a5bf57dc1c

Contents?: true

Size: 349 Bytes

Versions: 1

Compression:

Stored size: 349 Bytes

Contents

describe "include helper" do
	it "includes another template" do
		file_path = File.expand_path("../../spec-data/includes.html", __FILE__)
    out_file_path = File.expand_path("../../spec-data/includes.html.out", __FILE__)

    result = Rcurse::render_file(file_path, out_file_path)

    expect(File.read out_file_path).to eq("hello world")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rcurse-0.5.1 spec/include_spec.rb