Sha256: 017d2126aaa6cce3eb16ef25c0739949ee3d539c470e051df7cc3237e525ceba
Contents?: true
Size: 618 Bytes
Versions: 2
Compression:
Stored size: 618 Bytes
Contents
require 'rubygems' require 'activerecord' ActiveRecord::Base.establish_connection( :adapter => "sqlite3", :database => ":memory:" ) $:.unshift(File.join(File.dirname(__FILE__), "../lib")) require 'activesupport' require 'by_star' require 'spec' # Define time zone before loading test_helper zone = "UTC" Time.zone = zone ActiveRecord::Base.default_timezone = zone load File.dirname(__FILE__) + "/fixtures/schema.rb" load File.dirname(__FILE__) + "/fixtures/models.rb" # bootstraping the plugin through init.rb # tests how it would load in a real application load File.dirname(__FILE__) + "/../rails/init.rb"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
radar-by_star-0.2.4 | spec/spec_helper.rb |
radar-by_star-0.2.5 | spec/spec_helper.rb |