Commit 007ca5e71166171083830e1d5cb8a0493852b28f
1 parent
d6e22eff
Exists in
master
and in
29 other branches
rails3: fix uses_host method
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
test/test_helper.rb
... | ... | @@ -187,7 +187,8 @@ class ActiveSupport::TestCase |
187 | 187 | private |
188 | 188 | |
189 | 189 | def uses_host(name) |
190 | - @request.instance_variable_set('@host', name) | |
190 | + #@request.instance_variable_set('@host', name) | |
191 | + @request.host = name | |
191 | 192 | end |
192 | 193 | |
193 | 194 | def process_delayed_job_queue | ... | ... |