2008-11-19 14:08:19 -05:00
|
|
|
require 'rubygems'
|
2008-06-28 02:29:03 -04:00
|
|
|
require 'test/unit'
|
2008-11-19 14:08:19 -05:00
|
|
|
|
2008-11-23 17:48:36 -05:00
|
|
|
gem 'mocha', '>= 0.9.3'
|
2008-11-19 14:08:19 -05:00
|
|
|
require 'mocha'
|
|
|
|
|
2008-06-28 02:29:03 -04:00
|
|
|
require 'active_model'
|
2008-06-28 03:55:02 -04:00
|
|
|
require 'active_model/state_machine'
|
2008-11-25 01:45:44 -05:00
|
|
|
|
|
|
|
$:.unshift File.dirname(__FILE__) + "/../../activesupport/lib"
|
|
|
|
require 'active_support'
|
2008-06-28 02:29:03 -04:00
|
|
|
require 'active_support/test_case'
|
|
|
|
|
2008-11-19 14:08:19 -05:00
|
|
|
class ActiveModel::TestCase < ActiveSupport::TestCase
|
2008-06-28 02:29:03 -04:00
|
|
|
end
|
2008-06-28 03:55:02 -04:00
|
|
|
|
|
|
|
begin
|
|
|
|
require 'ruby-debug'
|
|
|
|
Debugger.start
|
|
|
|
rescue LoadError
|
|
|
|
end
|