Sha256: 667eeb8be17643249013da4ea3abbf315233cd38463d90cc444e3bf57d94f622
Contents?: true
Size: 594 Bytes
Versions: 16
Compression:
Stored size: 594 Bytes
Contents
require File.expand_path('../test_unit', __FILE__) module TestFile module RailsTestUnit include TestUnit def setup(project, index) super self.directory = if project.rails_version == 4 File.join(project.directory, 'test', 'models') else File.join(project.directory, 'test', 'unit') end test_case_generator.configure do |test_case| test_case.superclass = 'ActiveSupport::TestCase' end end # Don't require anything; this will happen in the test helper def all_requires [] end end end
Version data entries
16 entries across 16 versions & 1 rubygems