require File.join(File.dirname(__FILE__), "..", "lib", "staticmatic") describe "ActionView Helper Integration" do before :all do @sample_site_path = File.dirname(__FILE__) + "/fixtures/sample" @staticmatic = StaticMatic::Base.new(@sample_site_path) end it "should render partial" do @staticmatic.render("partial_test").should include("This is a form") end end