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

Version Path
tdiary-5.2.4 vendor/bundle/ruby/3.1.0/gems/jasmine-2.99.0/spec/application_integration_spec.rb
tdiary-5.2.3 vendor/bundle/ruby/3.1.0/gems/jasmine-2.99.0/spec/application_integration_spec.rb
tdiary-5.2.2 vendor/bundle/ruby/3.1.0/gems/jasmine-2.99.0/spec/application_integration_spec.rb
tdiary-5.2.1 vendor/bundle/ruby/3.1.0/gems/jasmine-2.99.0/spec/application_integration_spec.rb
jasmine-3.99.0 spec/application_integration_spec.rb
tdiary-5.2.0 vendor/bundle/ruby/2.7.0/gems/jasmine-2.99.0/spec/application_integration_spec.rb
tdiary-5.2.0 vendor/bundle/ruby/3.0.0/gems/jasmine-2.99.0/spec/application_integration_spec.rb
jasmine-3.10.0 spec/application_integration_spec.rb
tdiary-5.1.7 vendor/bundle/ruby/3.0.0/gems/jasmine-2.99.0/spec/application_integration_spec.rb
tdiary-5.1.7 vendor/bundle/ruby/2.7.0/gems/jasmine-2.99.0/spec/application_integration_spec.rb
jasmine-3.9.2 spec/application_integration_spec.rb
jasmine-3.9.1 spec/application_integration_spec.rb
jasmine-3.9.0 spec/application_integration_spec.rb
jasmine-3.8.1 spec/application_integration_spec.rb
jasmine-3.8.0 spec/application_integration_spec.rb
tdiary-5.1.6 vendor/bundle/ruby/3.0.0/gems/jasmine-2.99.0/spec/application_integration_spec.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/jasmine-2.99.0/spec/application_integration_spec.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/jasmine-2.99.0/spec/application_integration_spec.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/2.7.0/gems/jasmine-2.99.0/spec/application_integration_spec.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/jasmine-2.99.0/spec/application_integration_spec.rb