Skip to content

Commit

Permalink
Remove param from fixture to ensure its not overriden
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed May 13, 2011
1 parent 9b56b0f commit 43ff977
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/fixtures/nested_set_b.rb
@@ -1,3 +1,3 @@
NestedSetB = Rack::Mount::RouteSet.new do |set|
set.add_route(EchoApp, { :path_info => '/pass' }, { :response => 'pass' })
set.add_route(EchoApp, { :path_info => '/pass' })
end
2 changes: 1 addition & 1 deletion test/test_recognition.rb
Expand Up @@ -403,7 +403,7 @@ def test_nested_routing_parameters_are_merged_with_parents
def test_nested_routing_parameters_after_cascade
get '/nested/123/pass'
assert_success
assert_equal({ :set => 'B', :id => '123', :response => 'pass' }, routing_args)
assert_equal({ :set => 'B', :id => '123' }, routing_args)
end

private
Expand Down

0 comments on commit 43ff977

Please sign in to comment.