Sha256: 19e0aae41be8e7133f8f18ed1066b461351be1fcb5ee8ca62f1111ad8b33cf0f

Contents?: true

Size: 316 Bytes

Versions: 3

Compression:

Stored size: 316 Bytes

Contents

require 'spec_helper'
require "pathname"

$t = 0

describe "ActionView hacks" do
  include TestInlineRenderer
  
  it "should works with stylesheet_link_tag" do
    tpl = "= stylesheet_link_tag 'application'"
    str = render_haml(tpl)
    
    str.should =~ %r{link.+href="/stylesheets/application.css.*"}
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
green_monkey-0.1.3 spec/action_view_spec.rb
green_monkey-0.1.2 spec/action_view_spec.rb
green_monkey-0.1.1 spec/action_view_spec.rb