From 07bd087cfd8e6fc3415fae63f7fc0ffff47918ac Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Thu, 5 Mar 2015 11:33:09 -0800 Subject: [PATCH] Skip babel on ruby rhino --- test/test_execjs.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_execjs.rb b/test/test_execjs.rb index 1c40a6a..c3c6f1f 100644 --- a/test/test_execjs.rb +++ b/test/test_execjs.rb @@ -289,6 +289,8 @@ class TestExecJS < Test end def test_babel + skip if ExecJS.runtime.is_a?(ExecJS::RubyRhinoRuntime) + assert source = File.read(File.expand_path("../fixtures/babel.js", __FILE__)) source = <<-JS var self = this;