Sha256: 1044c6200e17c3a1a91adf509b4cc04873ebeeff4cbf5012009efde2e6055588

Contents?: true

Size: 365 Bytes

Versions: 3

Compression:

Stored size: 365 Bytes

Contents

require 'spec/spec_helper'

describe EngineAssets::StylesheetsController, :type => :controller do
  before do
    @format = 'css'
  end

  it_should_behave_like "A controller acting as an AssetsController"

  it "serves the correct mime type" do
    get :show, :path => 'solo', :format => format
    response.headers['Content-Type'].should =~ /text\/css/
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
engine-assets-0.6.0.pre1 spec/app/controllers/engine_assets/stylesheets_controller_spec.rb
engine-assets-0.5.1 spec/app/controllers/engine_assets/stylesheets_controller_spec.rb
engine-assets-0.5.0 spec/app/controllers/engine_assets/stylesheets_controller_spec.rb