Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 4eb2573bd6
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (18 sloc) 0.446 kB
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'sequel'
require 'sequel_sluggable'
require 'spec'
require 'spec/autorun'
# Create model to test on
DB = Sequel.sqlite
DB.create_table :items do
primary_key :id
String :name
String :slug
String :sluggie
end
class Item < Sequel::Model; end
Spec::Runner.configure do |config|
config.after(:each) { Item.delete }
end
Jump to Line
Something went wrong with that request. Please try again.