rspec / rspec-rails

RSpec for Rails 6+
https://rspec.info
MIT License
5.15k stars 1.03k forks source link

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

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~