spec/spec_helper.rb in opal-jquery-0.1.0 vs spec/spec_helper.rb in opal-jquery-0.1.1
- old
+ new
@@ -1,6 +1,6 @@
-require 'opal-spec'
+require 'opal-rspec'
require 'opal-jquery'
module JqueryHelpers
# Add some html code to the body tag ready for testing. This will
# be added before each test, then removed after each test. It is
@@ -28,8 +28,8 @@
after { @_spec_html.remove }
end
end
-class OpalSpec::Example
- extend JqueryHelpers
+RSpec.configure do |config|
+ config.extend JqueryHelpers
end