spec/opal_converter_spec.rb in jekyll-opal-0.2.0 vs spec/opal_converter_spec.rb in jekyll-opal-0.3.0

- old
+ new

@@ -3,12 +3,13 @@ describe(Jekyll::Converters::Opal) do let(:bogus_opal) { "hi.there( oatmeal" } let(:simple_opal) { "puts 'ohai jekyll'" } let(:simple_js_output) do <<-JS -/* Generated by Opal 0.8.1 */ +/* Generated by Opal #{::Opal::VERSION} */ (function(Opal) { Opal.dynamic_require_severity = "error"; + var OPAL_CONFIG = { method_missing: true, arity_check: false, freezing: true, tainting: true }; var self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice; Opal.add_stubs(['$puts']); return self.$puts("ohai jekyll") })(Opal);