21 lines
397 B
Ruby
21 lines
397 B
Ruby
require 'rubygems'
|
|
require 'test/unit'
|
|
|
|
gem 'mocha', '>= 0.9.3'
|
|
require 'mocha'
|
|
|
|
require 'active_model'
|
|
require 'active_model/state_machine'
|
|
|
|
$:.unshift File.expand_path('../../../activesupport/lib', __FILE__)
|
|
require 'active_support'
|
|
require 'active_support/test_case'
|
|
|
|
class ActiveModel::TestCase < ActiveSupport::TestCase
|
|
end
|
|
|
|
begin
|
|
require 'ruby-debug'
|
|
Debugger.start
|
|
rescue LoadError
|
|
end
|