Sha256: 2bfdb1d486203333f21878060feaefcf3a3fddaa324e50bf5f55f6c729e669c7

Contents?: true

Size: 548 Bytes

Versions: 2

Compression:

Stored size: 548 Bytes

Contents

require 'bundler/setup'
require 'simplecov'; SimpleCov.start

require 'minitest/spec'
require 'minitest/autorun'

require 'cql_model'

unless ENV['COVERAGE'] == 'no'
  require 'simplecov'
  SimpleCov.start do
    add_filter "/spec/"
  end
end

require 'support/setup_test_keyspace'

setup_cql_test

class Event < Cql::Model
  primary_key :id

  column :location, String
  column :date, Date
end

class Person < Cql::Model
  primary_key :id

  column :first_name, String
  column :last_name, String
  column :birth_date, Date, column_name: :dob
end

Version data entries

2 entries across 2 versions & 1 rubygems

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