Sha256: e1e8fcfb6fc80ae4b01563b496022af2411ddc183fc7cfa4eb55840bb6d3bafb

Contents?: true

Size: 537 Bytes

Versions: 1

Compression:

Stored size: 537 Bytes

Contents

$:.push '../lib'

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

class TestEntity < Hari::Entity
  property :name
  property :country,     default: 'US'
  property :birth,       type: Date
  property :points,      type: Integer
  property :preferences, type: Hash
  property :friends_ids, type: Array
  property :male,        type: Boolean, default: true
end

class TestNode < Hari::Node
  property :name
end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hari-0.0.5 spec/spec_helper.rb