diff options
author | Will Jessop <will@willj.net> | 2015-11-29 03:31:26 +0000 |
---|---|---|
committer | Will Jessop <will@willj.net> | 2015-12-04 16:40:08 +0000 |
commit | e8bfaa58bd128e54462f5902a407eb238d746586 (patch) | |
tree | 8cd379e71546f81410d28db51b98a99eae82da18 /actionpack/test/lib/controller/fake_models.rb | |
parent | 8bdbf88dfd231f80b8e757b36e77ff72e6b6b83c (diff) | |
download | rails-e8bfaa58bd128e54462f5902a407eb238d746586.tar.gz rails-e8bfaa58bd128e54462f5902a407eb238d746586.tar.bz2 rails-e8bfaa58bd128e54462f5902a407eb238d746586.zip |
Test against the real value of tld_length unless explicitly set
There were two places where the tld_length default
was hard-coded to 1, both overriding the real default
value of ActionDispatch::Http::URL.tld_length in this
set of tests.
This commit removes both of those, relying on the
actual value of ActionDispatch::Http::URL.tld_length,
unless it's specifically overridden.
Diffstat (limited to 'actionpack/test/lib/controller/fake_models.rb')
0 files changed, 0 insertions, 0 deletions