Sha256: 66a22d402da5018630131b83a2d9b8386d0860ccde34d088ebd70464582ad856
Contents?: true
Size: 371 Bytes
Versions: 3
Compression:
Stored size: 371 Bytes
Contents
require 'spec/spec_helper' describe EngineAssets::JavascriptsController, :type => :controller do before do @format = 'js' 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\/javascript/ end end
Version data entries
3 entries across 3 versions & 1 rubygems