Sha256: 76c74ee6e7f248e3990008719001fef190dba730c5bb178ef516cdb585fd85ca

Contents?: true

Size: 278 Bytes

Versions: 2

Compression:

Stored size: 278 Bytes

Contents

require File.expand_path("../../lib/pgjob", __FILE__)

RSpec.configure do |config|
  config.before(:all) do
    PGJob::Job.new(dbname: 'pgjob_test') { |job| job.migrate! }
  end

  config.after(:all) do
    PGJob::Job.new(dbname: 'pgjob_test') { |job| job.rollback! }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pgjob-0.1.1 spec/spec_helper.rb
pgjob-0.1.0 spec/spec_helper.rb