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 stepspull/11/head
parent
8b2780820c
commit
5ca4bf707b
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue