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