spec/async_spec.rb in rhoconnect-3.3.1.beta4 vs spec/async_spec.rb in rhoconnect-3.3.1
- old
+ new
@@ -1,8 +1,8 @@
require File.join(File.dirname(__FILE__),'api','api_helper')
# these specs are executed only with Async support
-if RUBY_VERSION =~ /1.9/
+if RUBY_VERSION =~ /1.9/ and not defined?(JRUBY_VERSION)
describe "BasicEventMachineTest with Threads" do
it_should_behave_like "ApiHelper" do
it "should run EventMachine gracefully and schedule callback execution in thread" do
f = Fiber.current
operation = proc { res = 1 }
\ No newline at end of file