# This file is used by Opal::Server to basically load all spec files that # can be found in the spec/ directory. # Hard to capture errors w/ Selenium %x{ window.jsErrors = []; window.onerror = function (errorMessage) { window.jsErrors.push(errorMessage); }; } require 'opal/rspec/autorun' require 'opal/rspec/spec_opts' #ERB <% environment.get_opal_spec_requires.each do |s| %> require <%= s.inspect %> #ERB <% end %>