Sha256: d0c04f246124093562d5e0d2d5781d497e12088573598f6a7a55edd049059dc2
Contents?: true
Size: 733 Bytes
Versions: 4
Compression:
Stored size: 733 Bytes
Contents
require 'spec_helper' describe 'static assets integration' do it 'provides outdatedBrowser.js on the asset pipeline' do visit '/assets/outdatedbrowser/outdatedBrowser.js' expect(page.text).to match(/outdatedBrowser/) end it 'provides require_outdatedbrowser.js on the asset pipeline' do visit '/assets/outdatedbrowser/require_outdatedbrowser.js' expect(page.text).to match(/outdatedBrowser/) end it 'provides outdatedBrowser.css on the asset pipeline' do visit '/assets/outdatedbrowser/outdatedBrowser.css' expect(page.text).to match(/Outdated Browser/) end it 'provides a partial with the div on the asset pipeline' do visit '/' expect(page).to have_selector('#outdated') end end
Version data entries
4 entries across 4 versions & 1 rubygems