spec/integration_spec.rb in shinq-0.7.1 vs spec/integration_spec.rb in shinq-0.8.0
- old
+ new
@@ -4,10 +4,13 @@
describe "Integration", skip: ENV['TRAVIS'] do
let(:queue_table) { 'queue_test' }
before do
- load_database_config(Shinq)
+ Shinq.configuration = {
+ default_db: :test,
+ db_config: load_database_config
+ }
end
after do
Shinq.connection.query("delete from #{queue_table}")
end