File: rails_test_unit.rb

package info (click to toggle)
ruby-rr 3.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,424 kB
  • sloc: ruby: 11,405; makefile: 7
file content (17 lines) | stat: -rw-r--r-- 479 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require File.expand_path('../test_unit', __FILE__)
require File.expand_path('../rails', __FILE__)
require File.expand_path('../../test_file/rails_test_unit', __FILE__)
require File.expand_path('../../test_helper/rails_test_unit', __FILE__)

module Project
  module RailsTestUnit
    include TestUnit
    include Rails

    def setup
      super
      test_file_generator.mixin TestFile::RailsTestUnit
      test_helper_generator.mixin TestHelper::RailsTestUnit
    end
  end
end