Sha256: 96a96094555f44363dae7155d4fef5a3e06165445692c622562a427df73b4881

Contents?: true

Size: 235 Bytes

Versions: 17

Compression:

Stored size: 235 Bytes

Contents

require "active_record"

# Prevent kaminari warning since we're not using a framework
module Sinatra
end

require "kaminari"
Kaminari::Hooks.init


ActiveRecord::Base.establish_connection(
  adapter: "sqlite3",
  database: "test.db"
)

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
shamu-0.0.24 spec/support/database.rb
shamu-0.0.21 spec/support/database.rb
shamu-0.0.20 spec/support/database.rb
shamu-0.0.19 spec/support/database.rb
shamu-0.0.18 spec/support/database.rb
shamu-0.0.17 spec/support/database.rb
shamu-0.0.15 spec/support/database.rb
shamu-0.0.14 spec/support/database.rb
shamu-0.0.13 spec/support/database.rb
shamu-0.0.11 spec/support/database.rb
shamu-0.0.9 spec/support/database.rb
shamu-0.0.8 spec/support/database.rb
shamu-0.0.7 spec/support/database.rb
shamu-0.0.5 spec/support/database.rb
shamu-0.0.4 spec/support/database.rb
shamu-0.0.3 spec/support/database.rb
shamu-0.0.2 spec/support/database.rb