Sha256: 49cb768293ab91ec6f644c874612e7ff4c5ecb578fc98be281f5495502851458
Contents?: true
Size: 438 Bytes
Versions: 53
Compression:
Stored size: 438 Bytes
Contents
require 'spec_helper' describe "Jasmine::Application" do it "includes no-cache headers for specs" do pending get "/__spec__/example_spec.js" expect(last_response.headers).to have_key("Cache-Control") expect(last_response.headers["Cache-Control"]).to eq "max-age=0, private, must-revalidate" last_response.headers['Pragma'].each do |key| expect(last_response.headers[key]).to eq 'no-cache' end end end
Version data entries
53 entries across 40 versions & 2 rubygems