Sha256: 9b3d4a8321ccdd3912135a86ad2fb8608466aaf19d2e4f16c9549f7b01c6b97b
Contents?: true
Size: 670 Bytes
Versions: 9
Compression:
Stored size: 670 Bytes
Contents
require 'spec_helper' class LessToSassSpec < Bootstrap::Sass::Rails::Spec describe 'application.css' do let(:app_css) { dummy_asset('application.css').gsub(/\n+\s+/, ' ') } it 'should include the clearfix helper classes' do app_css.must_include '.clearfix:before, .clearfix:after { content: " "; /* 1 */ display: table; /* 2 */ }' app_css.must_include '.clearfix:after { clear: both; }' end end private def line_for_framework_css(name) framework_css.each_line.detect{ |line| line.include? name }.strip end def line_for_individual_css(name) individual_css.each_line.detect{ |line| line.include? name }.strip end end
Version data entries
9 entries across 9 versions & 1 rubygems