Sha256: 2ff6873c2a5edd3472640a6c6adc2afb043e4a3631144c15aa54710d1c71284e

Contents?: true

Size: 669 Bytes

Versions: 2

Compression:

Stored size: 669 Bytes

Contents

require 'rubygems'

require 'active_record'
require 'action_controller'
require 'action_view'

require 'event_calendar'
require 'event_calendar/calendar_helper'

require File.dirname(__FILE__) + '/../init.rb'
require File.dirname(__FILE__) + "/fixtures/models"

ActiveRecord::Base.establish_connection(:adapter => 'sqlite3', :database => ':memory:')
ActiveRecord::Migration.verbose = false
ActiveRecord::Schema.define(:version => 0) do
  create_table :events do |t|
    t.column :start_at, :datetime
    t.column :end_at,   :datetime
  end
  create_table :custom_events do |t|
    t.column :custom_start_at, :datetime
    t.column :custom_end_at,   :datetime
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
event-calendar-2.3.3 spec/spec_helper.rb
event-calendar-2.3.2 spec/spec_helper.rb