Sha256: adde2b462129639869cc81eb61ac6252de412892b88fa53b60c3a7bba27b2bfa

Contents?: true

Size: 1.15 KB

Versions: 24

Compression:

Stored size: 1.15 KB

Contents

require 'test_helper'

describe "twbs sass rails integration" do
  it "does not include icons by default" do
    visit '/assets/default-twbs.css'
    page.text.wont_include 'Glyphicons Halflings'
    page.text.wont_include 'FontAwesome'
  end

  it "provides Bootstrap stylesheets on the asset pipeline" do
    visit '/assets/application.css'
    page.text.must_include 'MIT License'
  end

  it "provides Bootstrap javscripts on the asset pipeline" do
    visit '/assets/application.js'
    page.text.must_include '* Bootstrap'
  end

  it "provides Respond.js on the asset pipeline" do
    visit '/assets/respond.js'
    page.text.must_include 'Respond.js'
  end

  it "provides Font Awesome on the asset pipeline" do
    visit '/assets/fontawesome-webfont.eot'
    visit '/assets/fontawesome-webfont.svg'
    visit '/assets/fontawesome-webfont.ttf'
    visit '/assets/fontawesome-webfont.woff'
  end

  it "provides Glyphicons on the asset pipeline" do
    visit '/assets/glyphicons-halflings-regular.eot'
    visit '/assets/glyphicons-halflings-regular.svg'
    visit '/assets/glyphicons-halflings-regular.ttf'
    visit '/assets/glyphicons-halflings-regular.woff'
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
twbs_sass_rails-3.0.2 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-3.0.1 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-3.0.0 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-2.0.2 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-2.0.0 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-1.0.1 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-1.0.0 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-0.9.2 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-0.9.1 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-0.9.0 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-0.8.2 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-0.8.1 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-0.7.2 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-0.7.1 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-0.7.0 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-0.6.4 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-0.6.3 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-0.6.2 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-0.6.1 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-0.6.0 test/integration/twbs_sass_rails_integration_test.rb