Skip to content

Commit

Permalink
Run a query in couchdb setup to check that we can connect
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeepers committed May 19, 2010
1 parent 304a7a9 commit d71cd25
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/setup/couch_rest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
require 'delayed/backend/couch_rest'

Delayed::Backend::CouchRest::Job.use_database CouchRest::Server.new.database!('delayed_job_spec')

# try to perform a query to check that we can connect
Delayed::Backend::CouchRest::Job.all

0 comments on commit d71cd25

Please sign in to comment.