Sha256: 4f41c957fe7a33f5fc53ad64aeeb861c289cc0a3a438db9220bf0c024ddd2ee0
Contents?: true
Size: 647 Bytes
Versions: 12
Compression:
Stored size: 647 Bytes
Contents
require_relative 'spec_helper' describe CssController, type: :controller do before :all do cache = Rails.root.join('tmp/cache') cache.rmtree if cache.exist? end it "integrates with Rails and Sass" do get :test, file: 'sass' expect(response).to be_success clear_css = response.body.gsub("\n", " ").squeeze(" ").strip expect(clear_css).to eq "a { -webkit-mask: none; mask: none; }" end end describe 'Rake task' do it "shows debug" do info = `cd spec/app; bundle exec rake autoprefixer:info` expect(info).to match(/Browsers:\n Chrome: 25\n\n/) expect(info).to match(/ transition: webkit/) end end
Version data entries
12 entries across 12 versions & 1 rubygems