Sha256: a86693081fd090c2d8f0efe9840afdf8079a1be63ecbfac888665bfd70bf2225

Contents?: true

Size: 1.25 KB

Versions: 3

Compression:

Stored size: 1.25 KB

Contents

require 'test_helper'

describe "twbs less 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 '* Bootstrap'
  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

3 entries across 3 versions & 1 rubygems

Version Path
twbs_less_rails-2.20.0 test/integration/twbs_less_rails_integration_test.rb
twbs_less_rails-2.19.0 test/integration/twbs_less_rails_integration_test.rb
twbs_less_rails-2.18.0 test/integration/twbs_less_rails_integration_test.rb