removed rspec db setup, i probably didn't have it set right to clean up

after each task, implemented that in the before and after steps
pull/11/head
Adam Townsend 2023-10-03 16:02:33 -07:00
parent 8b2780820c
commit 5ca4bf707b
1 changed files with 0 additions and 7 deletions

View File

@ -14,13 +14,6 @@ Sequel.sqlite("db/#{ENV['DB_NAME']}") do |db|
Sequel::Migrator.apply(db, "db/migrations") Sequel::Migrator.apply(db, "db/migrations")
end end
# RSpec db setup
RSpec.configure do |c|
c.around(:each) do |example|
DB.transaction(rollback: :always, auto_savepoint: true){example.run}
end
end
# attach app to Capybara # attach app to Capybara
Capybara.app = App Capybara.app = App