Sha256: 696ca3610eaad1ab3cdc1127e8aa7b4aa3fd22a98fa5e7854d32ba05c880829c

Contents?: true

Size: 552 Bytes

Versions: 5

Compression:

Stored size: 552 Bytes

Contents

# coding: utf-8
require 'spec_helper'

describe Formtastic::LayoutHelper do
  
  include FormtasticSpecHelper
  include Formtastic::LayoutHelper
  
  describe '#formtastic_stylesheet_link_tag' do
    
    it 'should render a link to formtastic.css' do
      formtastic_stylesheet_link_tag.should have_tag("link[@href='/stylesheets/formtastic.css']")
    end
    
    it 'should render a link to formtastic_changes.css' do
      formtastic_stylesheet_link_tag.should have_tag("link[@href='/stylesheets/formtastic_changes.css']")
    end
    
  end
end

Version data entries

5 entries across 5 versions & 4 rubygems

Version Path
formtastic-1.1.0 spec/helpers/layout_helper_spec.rb
formtastic-1.1.0.beta spec/helpers/layout_helper_spec.rb
sensis-formtastic-rails3-1.d4e5326 spec/helpers/layout_helper_spec.rb
techthumb-formtastic-1.rails3.sha spec/helpers/layout_helper_spec.rb
formtastic-rails3-1.0.0.beta3 spec/helpers/layout_helper_spec.rb