Sha256: 748048bd66ad0b5068000c081412a3c3284d69faf5de3a536a898f1ccd635205

Contents?: true

Size: 571 Bytes

Versions: 8

Compression:

Stored size: 571 Bytes

Contents

require File.expand_path('../spec_helper', __FILE__)

describe CssController, :type => :controller do
  before :all do
    cache = Rails.root.join('tmp/cache')
    cache.rmtree if cache.exist?
  end

  it "should integrate with Rails" do
    get :test, :file => 'test'
    response.should be_success
    response.body.should == PREFIXED
  end
end

describe 'Rake task' do
  it "should inspect" do
    inspect = `cd spec/app; bundle exec rake autoprefixer:inspect`
    inspect.should =~ /Browsers:\n  Chrome: 25\n\n/
    inspect.should =~ /  transition: webkit/
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
autoprefixer-rails-0.6.20130721 spec/rails_spec.rb
autoprefixer-rails-0.6.20130716 spec/rails_spec.rb
autoprefixer-rails-0.5.20130629 spec/rails_spec.rb
autoprefixer-rails-0.5.20130626 spec/rails_spec.rb
autoprefixer-rails-0.5.20130625 spec/rails_spec.rb
autoprefixer-rails-0.5.20130617 spec/rails_spec.rb
autoprefixer-rails-0.5.20130616 spec/rails_spec.rb
autoprefixer-rails-0.5.20130615 spec/rails_spec.rb