# Testing a domain driven application

**URL:** <https://www.ruby-forum.com/t/testing-a-domain-driven-application/184554>\
**Category:** Rails\
**Created:** [March 4, 2010, 12:16pm UTC](https://www.ruby-forum.com/t/testing-a-domain-driven-application/184554 "2010-03-04T12:16:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eugenio](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ec9cab/32.png) [@eugenio](https://www.ruby-forum.com/u/eugenio)\
**Post date:** [March 4, 2010, 12:16pm UTC](https://www.ruby-forum.com/t/testing-a-domain-driven-application/184554/1 "2010-03-04T12:16:46Z")

</div>

in the application i’m working on i modify the view\_path according to  
the value of request.domain.  
it seems to work, but my functional test fail.  
how can i specify the request.domain value in the testing environment?
