mirror of
https://github.com/lloeki/rebel.git
synced 2025-12-06 10:04:39 +01:00
Tests
This commit is contained in:
parent
3415cf8ad4
commit
2155aa8d43
5 changed files with 75 additions and 5 deletions
8
test/helper.rb
Normal file
8
test/helper.rb
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
require 'pry'
|
||||
require 'sqlite3'
|
||||
|
||||
def memdb
|
||||
SQLite3::Database.new(':memory:').tap do |db|
|
||||
db.class.instance_eval { alias_method :exec, :execute }
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue