spec/server/rack/asset_files_spec.rb in volt-0.8.27.beta2 vs spec/server/rack/asset_files_spec.rb in volt-0.8.27.beta3
- old
+ new
@@ -17,10 +17,10 @@
end
it 'should list all JS files' do
main = Volt::AssetFiles.new('main', @component_paths)
- expect(main.javascript_files(nil)).to eq(["/assets/js/jquery-2.0.3.js", "/assets/js/sockjs-0.3.4.min.js", "/assets/js/volt_js_polyfills.js", "/assets/js/bootstrap.js", "/assets/js/test2.js", "/assets/js/test3.js", "/assets/js/test1.js", "/assets/volt/page/page.js", "/components/main.js"])
+ expect(main.javascript_files(nil)).to eq(['/assets/js/jquery-2.0.3.js', '/assets/js/sockjs-0.3.4.min.js', '/assets/js/volt_js_polyfills.js', '/assets/js/bootstrap.js', '/assets/js/test2.js', '/assets/js/test3.js', '/assets/js/test1.js', '/assets/volt/page/page.js', '/components/main.js'])
end
it 'should raise an exception for a missing component gem' do
main = Volt::AssetFiles.new('main', @component_paths)