spec/spec_helper.rb in event-calendar-2.3.1 vs spec/spec_helper.rb in event-calendar-2.3.2
- old
+ new
@@ -1,21 +1,15 @@
-ENV["RAILS_ROOT"] ||= File.dirname(__FILE__) + '/../../../..'
-ENV["RAILS_ENV"] = "test"
-
-#require File.expand_path(File.dirname(ENV['RAILS_ROOT']) + "/config/environment")
require 'rubygems'
-require 'spec'
require 'active_record'
require 'action_controller'
require 'action_view'
-
require 'event_calendar'
require 'event_calendar/calendar_helper'
require File.dirname(__FILE__) + '/../init.rb'
-require 'spec/fixtures/models'
+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|