Sha256: a0d9fe956ca8aa942502268c54af1ad05fa0ec61473384e250775ded7998ac98
Contents?: true
Size: 292 Bytes
Versions: 1
Compression:
Stored size: 292 Bytes
Contents
if ENV['BROWSER'] && ENV['BROWSER'] == 'poltergeist' 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
volt-0.7.20 | spec/server/rack/rack_requests_spec.rb |