Sha256: 7c43c113f5d0c5babba338294b3fd8b7e95f694d7b089d2cfd155e64ffcaf0b2
Contents?: true
Size: 718 Bytes
Versions: 6
Compression:
Stored size: 718 Bytes
Contents
require 'minitest/spec' require 'minitest/autorun' require_relative 'project/controller' describe Rail::Application do it 'handles uncompressed Sass assests' do controller = Controller.new do config.compress = false end body = controller.process('/application.css') assert_equal body.strip, <<-BODY.strip * { margin: 0; padding: 0; } body { font-family: 'Benton Modern Display'; } BODY end it 'handles compressed Sass assets' do controller = Controller.new do config.compress = true end body = controller.process('/application.css') assert_equal body.strip, <<-BODY.strip *{margin:0;padding:0}body{font-family:'Benton Modern Display'} BODY end end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
rail-0.0.7 | spec/sass_spec.rb |
rail-0.0.6 | spec/sass_spec.rb |
rail-0.0.5 | spec/sass_spec.rb |
rail-0.0.4 | spec/sass_spec.rb |
rail-0.0.3 | spec/sass_spec.rb |
rail-0.0.2 | spec/sass_spec.rb |