File: test_helper.rb

package info (click to toggle)
rails 2.3.5-1.2+squeeze8
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 18,248 kB
  • ctags: 20,944
  • sloc: ruby: 122,413; makefile: 72; sql: 43; sh: 1
file content (22 lines) | stat: -rw-r--r-- 427 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require 'rubygems'
require 'test/unit'

# We just use the Debian version
# gem 'mocha', '>= 0.9.3'
require 'mocha'

require 'active_model'
require 'active_model/state_machine'

$:.unshift File.dirname(__FILE__) + "/../../activesupport/lib"
require 'active_support'
require 'active_support/test_case'

class ActiveModel::TestCase < ActiveSupport::TestCase
end

begin
  require 'ruby-debug'
  Debugger.start
rescue LoadError
end