Sha256: 198cf9d7047e431db7f3f19885fddcc130a9fbc569d8729e607b552102ec5e38

Contents?: true

Size: 1.14 KB

Versions: 9

Compression:

Stored size: 1.14 KB

Contents

require 'test_helper'

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

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

  it "provides bootstrap javscript 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 fontawesome 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

9 entries across 9 versions & 1 rubygems

Version Path
twbs_less_rails-2.6.0 test/integration/twbs_less_rails_integration_test.rb
twbs_less_rails-2.5.1 test/integration/twbs_less_rails_integration_test.rb
twbs_less_rails-2.5.0 test/integration/twbs_less_rails_integration_test.rb
twbs_less_rails-2.4.0 test/integration/twbs_less_rails_integration_test.rb
twbs_less_rails-2.3.0 test/integration/twbs_less_rails_integration_test.rb
twbs_less_rails-2.2.0 test/integration/twbs_less_rails_integration_test.rb
twbs_less_rails-2.1.0 test/integration/twbs_less_rails_integration_test.rb
twbs_less_rails-2.0.0 test/integration/twbs_less_rails_integration_test.rb
twbs_less_rails-1.0.2 test/integration/twbs_less_rails_integration_test.rb