# Integrationtest with Subdomain

**URL:** <https://www.ruby-forum.com/t/integrationtest-with-subdomain/176822>\
**Category:** Rails\
**Created:** [October 6, 2009, 6:10pm UTC](https://www.ruby-forum.com/t/integrationtest-with-subdomain/176822 "2009-10-06T18:10:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![borisu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/7cd45c/32.png) [@borisu](https://www.ruby-forum.com/u/borisu)\
**Post date:** [October 6, 2009, 6:10pm UTC](https://www.ruby-forum.com/t/integrationtest-with-subdomain/176822/1 "2009-10-06T18:10:27Z")

</div>

Hello,

I have a app which uses Subdomains for User-Account “username.my.app”  
How can I build an integration test for this app with webrat. i donÂ´t  
know how can I use my subdomain logic in the test.

thanks
