require 'sequel'
require 'database_cleaner'
require 'database_cleaner/cucumber'

DB_URI = 'sqlite://gateway/data/test.sqlite'
DatabaseCleaner[:sequel, {:connection => Sequel.connect(DB_URI)}].strategy = :truncation

Before do
    DatabaseCleaner.start
end

After do |scenario|
    DatabaseCleaner.clean
end

require 'sequel'
require 'database_cleaner'
require 'database_cleaner/cucumber'

DB_URI = "sqlite://#{FigNewton.sqlite.relative_path}"
DatabaseCleaner[:sequel, {:connection => Sequel.connect(DB_URI)}].strategy = :truncation

Before do
    DatabaseCleaner.start
end

After do |scenario|
    DatabaseCleaner.clean
end

Use FigNetwon for test database location
Use FigNetwon for test database location
