Sha256: 7d4e4fbca216297d0f3ca65b73dc92f45cbf59c5e0a96a9db4942829d5da596b
Contents?: true
Size: 266 Bytes
Versions: 3
Compression:
Stored size: 266 Bytes
Contents
require 'spec_helper' describe 'template handler' do it 'has the correct content type' do get '/application/with_assignments.js' expect(response).to be_success expect(response.headers['Content-Type']).to eq('text/javascript; charset=utf-8') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
opal-rails-0.9.4 | spec/integration/template_spec.rb |
opal-rails-0.9.3 | spec/integration/template_spec.rb |
opal-rails-0.9.1 | spec/integration/template_spec.rb |