mintdigital / pathways

Pathways Ruby Gem - Find out the common pathways within your Rails app.
1 stars 2 forks source link

Do not connect to Mongo during app's tests #4

Open dstrelau opened 13 years ago

dstrelau commented 13 years ago

Related to (and possibly solved via same resolution) as #1, but important enough to deserve it's own issue.

When requiring pathways via bundler into a Rails app, lib/pathways.rb is required and a connection to mongo happens any time the environment is loaded, even when just running rake test for instance.

dstrelau commented 13 years ago

Probably don't want to connect during console sessions either.