Fix problem with tests in jruby 1.7.13

By https://github.com/railsware/js-routes/pull/123 pull request
Put it within `context "when parameters is null" do` to remove nill value check.