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
This commit is contained in:
2023-10-03 16:02:33 -07:00
parent 8b2780820c
commit 5ca4bf707b
-7
View File
@@ -14,13 +14,6 @@ Sequel.sqlite("db/#{ENV['DB_NAME']}") do |db|
Sequel::Migrator.apply(db, "db/migrations")
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
Capybara.app = App