require('rspec')
require('pg')
require('actor')
require('movie')

DB = PG.connect(dbname: 'movie_test_database')

RSpec.configure do |config|
  config.after(:each) do
    DB.exec('DELETE FROM movies *;')
    DB.exec('DELETE FROM actors *;')
  end
end
