Sha256: 4d9842369ff6c5e53d2008bf929262b55838bc558ca9c93716d30ede3e32a76a

Contents?: true

Size: 361 Bytes

Versions: 2

Compression:

Stored size: 361 Bytes

Contents

$:.push '../lib'

require 'hari'
require 'pry'
require 'delorean'
require 'active_support/core_ext/numeric/time'

class TestEntity < Hari::Entity
  property :name
  property :birth,  type: Date
  property :points, type: Integer
end

class TestNode < Hari::Node
  property :name
end

RSpec.configure do |config|
  config.before(:each) { Hari.redis.flushdb }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hari-0.0.4 spec/spec_helper.rb
hari-0.0.3 spec/spec_helper.rb