rails-sqlserver / activerecord-sqlserver-adapter

SQL Server Adapter For Rails
MIT License
971 stars 559 forks source link

rspec unable to find my database with tinytds but works fine in Rails? #319

Closed jfrux closed 10 years ago

jfrux commented 10 years ago

How would I resolve this?

When I run bundle exec rspec spec/requests I'm getting:

/Users/Joshua/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/tiny_tds-0.6.1/lib/tiny_tds/client.rb:77:in `connect': Could not locate entry in sysdatabases for database 'CCPD_CLONE'. No entry found with that name. Make sure that the name is entered correctly. (TinyTds::Error)
jfrux commented 10 years ago

Nevermind, I'm an idiot... I ran rake test earlier and it deleted the DB... What a day~