Sha256: b69f9bc116495bf101ecafafe02ffb9ddba0d395fe97ab796ffa6780c6cb039b
Contents?: true
Size: 518 Bytes
Versions: 48
Compression:
Stored size: 518 Bytes
Contents
require File.expand_path('../helper', __FILE__) Encoding.default_external = 'utf-8' if defined?(::Encoding) class CompassAppTest < Test::Unit::TestCase include Rack::Test::Methods class App < Sinatra::Base set :scss, { :style => :compressed } register Sinatra::CompassSupport get('/style.css') { scss "@import 'compass/css3'; body { @include opacity(0.5); }" } end def app App.new end test "boogie" do get '/style.css' assert_includes last_response.body, 'filter:' end end
Version data entries
48 entries across 48 versions & 2 rubygems