Sha256: 8bf311c28485060afba05fa55bd70265869d9fcf4022414eb0b3380c97ec7ad5
Contents?: true
Size: 472 Bytes
Versions: 6
Compression:
Stored size: 472 Bytes
Contents
require File.dirname(__FILE__) + "/../spec_helper" describe "Helpers:" do include StaticMatic::Helpers::AssetsHelper include StaticMatic::Helpers::CurrentPathHelper include StaticMatic::Helpers::TagHelper before do setup_staticmatic @staticmatic.instance_variable_set("@current_page", "") end it "should include custom helper" do content = @staticmatic.generate_html_with_layout("index") content.should match(/Hello, Steve!/) end end
Version data entries
6 entries across 6 versions & 2 rubygems