Sha256: e4c521225800850ee35122a3b81715627bc88bc3c672f45b834d2940d635c58b

Contents?: true

Size: 388 Bytes

Versions: 1

Compression:

Stored size: 388 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tdreyno-staticmatic-2.9.0 spec/action_view_helpers_spec.rb