Sha256: a6b6453d449b1d2d199ed2c7d3285b97b161a468b0022b7a340be7b8cd358c46

Contents?: true

Size: 644 Bytes

Versions: 14

Compression:

Stored size: 644 Bytes

Contents

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

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

  it "should not compile foreign styles" do
    get :test, :file => 'foreign'
    response.should be_success
    response.body.should == ".f { transition: none }\n"
  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

14 entries across 14 versions & 1 rubygems

Version Path
autoprefixer-rails-0.4.20130603 spec/rails_spec.rb
autoprefixer-rails-0.4.20130530 spec/rails_spec.rb
autoprefixer-rails-0.4.20130528 spec/rails_spec.rb
autoprefixer-rails-0.4.20130527 spec/rails_spec.rb
autoprefixer-rails-0.4.20130524 spec/rails_spec.rb
autoprefixer-rails-0.4.20130523 spec/rails_spec.rb
autoprefixer-rails-0.4.20130521 spec/rails_spec.rb
autoprefixer-rails-0.4.20130515 spec/rails_spec.rb
autoprefixer-rails-0.4.20130507 spec/rails_spec.rb
autoprefixer-rails-0.3.20130502 spec/rails_spec.rb
autoprefixer-rails-0.3.20130427 spec/rails_spec.rb
autoprefixer-rails-0.3.20130424 spec/rails_spec.rb
autoprefixer-rails-0.3.20130423 spec/rails_spec.rb
autoprefixer-rails-0.2.20130413 spec/rails_spec.rb