Sha256: d11c664946e8192a244e1109d05bb17a659179eb3d406326dbfa1d494731ad43

Contents?: true

Size: 486 Bytes

Versions: 6

Compression:

Stored size: 486 Bytes

Contents

require 'spec_helper'

describe ThemeHelper do
  describe '#themes' do
    it 'returns an array' do
      helper.themes.should be_an Array
    end
  end
  describe '#theme_name' do
    it 'returns the a theme name' do
      helper.themes.should include helper.theme_name
    end
  end
  describe '#theme_stylesheet_link_tag' do
    it 'returns a stylesheet link tag for the theme' do
      helper.theme_stylesheet_link_tag.should match /^<link.*rel="stylesheet".*\/>$/
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bootswitch-0.0.13 spec/helpers/theme_helper_spec.rb
bootswitch-0.0.12 spec/helpers/theme_helper_spec.rb
bootswitch-0.0.11 spec/helpers/theme_helper_spec.rb
bootswitch-0.0.9 spec/helpers/theme_helper_spec.rb
bootswitch-0.0.8 spec/helpers/theme_helper_spec.rb
bootswitch-0.0.7 spec/helpers/theme_helper_spec.rb