aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-08-13 14:15:04 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-08-13 14:15:04 -0700
commit45d594fa53ce838110dcbddc1cf05af490b460a2 (patch)
tree36ba9538029d404e5f77c9c0386511c8759a93a5 /actionpack/test/dispatch
parentb778f6348bb5f00fc5fe8b6209c1a3f796126255 (diff)
downloadrails-45d594fa53ce838110dcbddc1cf05af490b460a2.tar.gz
rails-45d594fa53ce838110dcbddc1cf05af490b460a2.tar.bz2
rails-45d594fa53ce838110dcbddc1cf05af490b460a2.zip
pull up options_constrants extraction
Diffstat (limited to 'actionpack/test/dispatch')
-rw-r--r--actionpack/test/dispatch/mapper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/mapper_test.rb b/actionpack/test/dispatch/mapper_test.rb
index 9a3a29b903..7ba946aa7f 100644
--- a/actionpack/test/dispatch/mapper_test.rb
+++ b/actionpack/test/dispatch/mapper_test.rb
@@ -95,7 +95,7 @@ module ActionDispatch
def test_mapping_requirements
options = { }
scope = Mapper::Scope.new({})
- m = Mapper::Mapping.build(scope, FakeSet.new, '/store/:name(*rest)', 'foo', 'bar', nil, [:get], nil, options)
+ m = Mapper::Mapping.build(scope, FakeSet.new, '/store/:name(*rest)', 'foo', 'bar', nil, [:get], nil, {}, options)
_, _, requirements, _ = m.to_route
assert_equal(/.+?/, requirements[:rest])
end