Sha256: 89b513009f47dd1b6f39e2728b56ebaecdbc81b86a654a4df4eab9d0f3737c3f

Contents?: true

Size: 525 Bytes

Versions: 4

Compression:

Stored size: 525 Bytes

Contents

require 'spec_helper'

describe ThemeHelper do
  describe '#theme_name' do
    it 'returns the a theme name' do
      ['amelia', 'cerulean', 'cosmo', 'custom', 'cyborg', 'darkly', 'flatly','global','journal','readable','simplex','slate','spacelab','superhero','united','yeti'].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

4 entries across 4 versions & 1 rubygems

Version Path
bootswitch-0.0.4 spec/helpers/theme_helper_spec.rb
bootswitch-0.0.3 spec/helpers/theme_helper_spec.rb
bootswitch-0.0.2 spec/helpers/theme_helper_spec.rb
bootswitch-0.0.1 spec/helpers/theme_helper_spec.rb