From 5ca4bf707b84221ec5cb48fc2b7f264d07d45232 Mon Sep 17 00:00:00 2001 From: Adam Townsend Date: Tue, 3 Oct 2023 16:02:33 -0700 Subject: [PATCH] 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 --- features/support/env.rb | 7 ------- 1 file changed, 7 deletions(-) diff --git a/features/support/env.rb b/features/support/env.rb index c5ab798..5307da0 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -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