Fix spec under jruby