Fix spec for jruby.