Sha256: ffbcb7574ba0631e145a582faf7e94841b9bc3f17b08609eb3047c6dbf76e6c5

Contents?: true

Size: 383 Bytes

Versions: 9

Compression:

Stored size: 383 Bytes

Contents

require "spec_helper"

describe "Helpers:" do
  include StaticMatic::Helpers::AssetsHelper
  include StaticMatic::Helpers::CurrentPathHelper
  include StaticMatic::Helpers::TagHelper
  before do
    setup_staticmatic
  end
  
  it "should include custom helper" do
    content = @staticmatic.generate_html_with_layout("index")
    content.should match(/Hello, Steve!/)
  end
  
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
staticmatic2-2.1.8 spec/helpers/custom_helper_spec.rb
staticmatic2-2.1.7 spec/helpers/custom_helper_spec.rb
staticmatic2-2.1.6 spec/helpers/custom_helper_spec.rb
staticmatic2-2.1.5 spec/helpers/custom_helper_spec.rb
staticmatic2-2.1.4 spec/helpers/custom_helper_spec.rb
staticmatic2-2.1.3 spec/helpers/custom_helper_spec.rb
staticmatic2-2.1.2 spec/helpers/custom_helper_spec.rb
staticmatic2-2.1.1 spec/helpers/custom_helper_spec.rb
staticmatic2-2.1.0 spec/helpers/custom_helper_spec.rb