Sha256: dd0dd5d6a318958bbb66cc07ef4cea43f6a5e9e72d91974f614bf970638f8a23

Contents?: true

Size: 421 Bytes

Versions: 1

Compression:

Stored size: 421 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
autoprefixer-rails-0.1.20130409 spec/rails_spec.rb