refactor: allows custom route-conditions to be set via route options in conditions_spec.rb