Sha256: 55e7751ae3a50a156a488653b1809b1d896b4909b8e7459d62db031c6e83738b

Contents?: true

Size: 1.25 KB

Versions: 8

Compression:

Stored size: 1.25 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'
    visit '/assets/fontawesome-webfont.woff2'
  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'
    visit '/assets/glyphicons-halflings-regular.woff2'
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
twbs_sass_rails-3.7.0 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-3.6.2 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-3.6.0 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-3.5.1 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-3.5.0 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-3.4.0 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-3.3.0 test/integration/twbs_sass_rails_integration_test.rb
twbs_sass_rails-3.2.0 test/integration/twbs_sass_rails_integration_test.rb