Sha256: 89b3cbae3c02b5b5deb3346aed076cb43cb35d7c16256d233c7241c97465994c
Contents?: true
Size: 312 Bytes
Versions: 15
Compression:
Stored size: 312 Bytes
Contents
require 'spec_helper' if ENV['BROWSER'] && ENV['BROWSER'] == 'phantom' describe 'Rack Requests', type: :feature do it 'should send JS file with JS mimetype' do visit '/app/components/main.js' expect(page.response_headers['Content-Type']).to include 'application/javascript' end end end
Version data entries
15 entries across 15 versions & 1 rubygems