config.ru in opal-jquery-0.4.6 vs config.ru in opal-jquery-0.5.0
- old
+ new
@@ -1,8 +1,9 @@
require 'bundler'
Bundler.require
require 'opal/rspec'
+require 'opal/rspec/sprockets_environment'
sprockets_env = Opal::RSpec::SprocketsEnvironment.new
run Opal::Server.new(sprockets: sprockets_env) { |s|
s.main = 'opal/rspec/sprockets_runner'
sprockets_env.add_spec_paths_to_sprockets