# Rake test:integration appears to load routes twice

**URL:** <https://www.ruby-forum.com/t/rake-test-integration-appears-to-load-routes-twice/171193>\
**Category:** Rails\
**Created:** [June 28, 2009, 9:16am UTC](https://www.ruby-forum.com/t/rake-test-integration-appears-to-load-routes-twice/171193 "2009-06-28T09:16:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tonypm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/a587f6/32.png) [@tonypm](https://www.ruby-forum.com/u/tonypm)\
**Post date:** [June 28, 2009, 9:16am UTC](https://www.ruby-forum.com/t/rake-test-integration-appears-to-load-routes-twice/171193/1 "2009-06-28T09:16:53Z")

</div>

Whilst trying to find out why I was having problems running Webrat, I  
put a puts into the routes file to see when it was loaded, and noticed  
it gets loaded twice. Is there any problem with this.

It only happens with rake, not if running the test directly.

for a large routes folder, it would add a bit to test startup time.
