So I have a rails app that has the following configuration that works:
#database.yml
development:
adapter: sqlserver
host: valid_db_host #valid_db_host is part of my local network
database: valid_db
username: user
password: pass
I want to add tests to said app, so i created a test db on the same box and added this to my database.yml:
development:
adapter: sqlserver
host: valid_db_host
database: valid_db_test
username: user
password: pass
When i try to run my tests I get:
TinyTds::Error: Server name not found in configuration files
My tinytds.conf file has the default stuff in it (I did not change it because the dev db works)
The weird thing is if i run 'rails c test' it works
Any ideas?
Thanks
Mike