Sha256: 9327aede1851a153f95d6a57f00bc8d9bed80901da637856d6a7f88c99e30158
Contents?: true
Size: 653 Bytes
Versions: 11
Compression:
Stored size: 653 Bytes
Contents
# coding: utf-8 require File.dirname(__FILE__) + '/spec_helper' describe 'LayoutHelper' do include FormtasticSpecHelper include Formtastic::LayoutHelper before do @output_buffer = '' end describe '#formtastic_stylesheet_link_tag' do before do concat(formtastic_stylesheet_link_tag()) end it 'should render a link to formtastic.css' do output_buffer.should have_tag("link[@href='/stylesheets/formtastic.css']") end it 'should render a link to formtastic_changes.css' do output_buffer.should have_tag("link[@href='/stylesheets/formtastic_changes.css']") end end end
Version data entries
11 entries across 11 versions & 1 rubygems