File: railtie.rb

package info (click to toggle)
ruby-railties-3.2 3.2.6-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,808 kB
  • sloc: ruby: 6,217; makefile: 10
file content (15 lines) | stat: -rw-r--r-- 363 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module Rails
  class TestUnitRailtie < Rails::Railtie
    config.app_generators do |c|
      c.test_framework :test_unit, :fixture => true,
                                   :fixture_replacement => nil

      c.integration_tool :test_unit
      c.performance_tool :test_unit
    end

    rake_tasks do
      load "rails/test_unit/testing.rake"
    end
  end
end