2009-02-04 21:26:08 +01:00
|
|
|
require 'rubygems'
|
2008-10-27 07:47:01 +01:00
|
|
|
require 'test/unit'
|
2009-02-04 21:26:08 +01:00
|
|
|
|
|
|
|
gem 'mocha', '>= 0.9.3'
|
|
|
|
require 'mocha'
|
|
|
|
|
2008-10-27 07:47:01 +01:00
|
|
|
require 'active_model'
|
|
|
|
require 'active_model/state_machine'
|
|
|
|
|
2009-02-04 21:26:08 +01:00
|
|
|
$:.unshift File.dirname(__FILE__) + "/../../activesupport/lib"
|
|
|
|
require 'active_support'
|
|
|
|
require 'active_support/test_case'
|
2008-10-27 07:47:01 +01:00
|
|
|
|
2009-02-04 21:26:08 +01:00
|
|
|
class ActiveModel::TestCase < ActiveSupport::TestCase
|
2008-10-27 07:47:01 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
begin
|
|
|
|
require 'ruby-debug'
|
|
|
|
Debugger.start
|
|
|
|
rescue LoadError
|
|
|
|
end
|