Sha256: 6e34b7a8b6d3b494d470855974eb0644e7cafc42d93d86220776688a30f27fbc

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

require 'test_helper'

describe "twbs sass rails integration" do
  it "does not default to glyphicons" do
    visit '/assets/default-twbs.css'
    page.text.wont_include 'Glyphicons Halflings'
  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

1 entries across 1 versions & 1 rubygems

Version Path
twbs_sass_rails-0.2.0 test/integration/twbs_sass_rails_integration_test.rb