Make the rspec on rails4 with JRuby pass