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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user