Methods
Instance Public methods
test_optional_default_url_options_are_overridden_by_missing_positional_args()
Link
# File actionpack/test/controller/base_test.rb, line 305 def test_optional_default_url_options_are_overridden_by_missing_positional_args with_routing do |set| set.draw do get "/:category(/:thing)" => "optional_default_url_options#show", :as => :thing end assert_equal "/things/a_thing", thing_path('things', 'a_thing') assert_equal "/things/default_thing", thing_path('things') end end