test/cases/usage_css_spec.rb in bootstrap-sass-rails-2.0.0.1 vs test/cases/usage_css_spec.rb in bootstrap-sass-rails-2.0.0.2
- old
+ new
@@ -5,18 +5,40 @@
describe 'application.css' do
let(:app_css) { dummy_asset('application.css') }
it 'will render main bootstrap.less file and all included modules' do
- app_css.must_include 'Bootstrap @VERSION', 'From bootstrap.css.scss'
- app_css.must_include 'Forms.scss', 'From forms.scss'
- app_css.must_include 'Snippets of reusable CSS', 'From mixins.scss'
- app_css.must_include 'Patterns.scss', 'From patterns.scss'
- app_css.must_include 'Scaffolding', 'From scaffolding.scss'
- app_css.must_include 'Tables.scss', 'From tables.scss'
- app_css.must_include 'Typography.scss', 'From type.scss'
- app_css.must_include 'Variables.scss', 'From variables.scss'
+ app_css.must_include 'Bootstrap v'
+ app_css.must_include '_reset.scss'
+ app_css.must_include '_scaffolding'
+ app_css.must_include '_layouts.scss'
+ app_css.must_include '_type.scss'
+ app_css.must_include '_code.scss'
+ app_css.must_include '_forms.scss'
+ app_css.must_include '_tables.scss'
+ app_css.must_include '_sprites.scss'
+ app_css.must_include '_dropdowns.scss'
+ app_css.must_include '_wells.scss'
+ app_css.must_include '_component-animations.scss'
+ app_css.must_include '_close.scss'
+ app_css.must_include '_buttons.scss'
+ app_css.must_include '_button-groups.scss'
+ app_css.must_include '_alerts.scss'
+ app_css.must_include '_navs.scss'
+ app_css.must_include '_navbar.scss'
+ app_css.must_include '_breadcrumbs.scss'
+ app_css.must_include '_pagination.scss'
+ app_css.must_include '_pager.scss'
+ app_css.must_include '_modals.scss'
+ app_css.must_include '_tooltip.scss'
+ app_css.must_include '_popovers.scss'
+ app_css.must_include '_thumbnails.scss'
+ app_css.must_include '_labels.scss'
+ app_css.must_include '_progress-bars.scss'
+ app_css.must_include '_accordion.scss'
+ app_css.must_include '_carousel.scss'
+ app_css.must_include '_hero-unit.scss'
end
it 'must include basic css afterward' do
app_css.must_include '#other-css { color: red; }', 'From our code afterward.'
end
@@ -39,17 +61,39 @@
describe 'sprockets.css' do
let(:sprockets_css) { dummy_asset('sprockets.css') }
it 'will render main bootstrap.css file and all included modules' do
- sprockets_css.must_include 'Bootstrap @VERSION', 'From boostrap.css.scss'
- sprockets_css.must_include 'Forms.scss', 'From forms.scss'
- sprockets_css.must_include 'Snippets of reusable CSS', 'From mixins.scss'
- sprockets_css.must_include 'Patterns.scss', 'From patterns.scss'
- sprockets_css.must_include 'Scaffolding', 'From scaffolding.scss'
- sprockets_css.must_include 'Tables.scss', 'From tables.scss'
- sprockets_css.must_include 'Typography.scss', 'From type.scss'
- sprockets_css.must_include 'Variables.scss', 'From variables.scss'
+ sprockets_css.must_include 'Bootstrap v'
+ sprockets_css.must_include '_reset.scss'
+ sprockets_css.must_include '_scaffolding'
+ sprockets_css.must_include '_layouts.scss'
+ sprockets_css.must_include '_type.scss'
+ sprockets_css.must_include '_code.scss'
+ sprockets_css.must_include '_forms.scss'
+ sprockets_css.must_include '_tables.scss'
+ sprockets_css.must_include '_sprites.scss'
+ sprockets_css.must_include '_dropdowns.scss'
+ sprockets_css.must_include '_wells.scss'
+ sprockets_css.must_include '_component-animations.scss'
+ sprockets_css.must_include '_close.scss'
+ sprockets_css.must_include '_buttons.scss'
+ sprockets_css.must_include '_button-groups.scss'
+ sprockets_css.must_include '_alerts.scss'
+ sprockets_css.must_include '_navs.scss'
+ sprockets_css.must_include '_navbar.scss'
+ sprockets_css.must_include '_breadcrumbs.scss'
+ sprockets_css.must_include '_pagination.scss'
+ sprockets_css.must_include '_pager.scss'
+ sprockets_css.must_include '_modals.scss'
+ sprockets_css.must_include '_tooltip.scss'
+ sprockets_css.must_include '_popovers.scss'
+ sprockets_css.must_include '_thumbnails.scss'
+ sprockets_css.must_include '_labels.scss'
+ sprockets_css.must_include '_progress-bars.scss'
+ sprockets_css.must_include '_accordion.scss'
+ sprockets_css.must_include '_carousel.scss'
+ sprockets_css.must_include '_hero-unit.scss'
end
it 'must include basic css afterward' do
sprockets_css.must_include '#other-css { color: red; }', 'From our code afterward.'
end