Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 317f13c2a8
Fetching contributors…

Cannot retrieve contributors at this time

executable file 18 lines (15 sloc) 0.516 kB
$:.unshift(File.dirname(__FILE__) + '/../lib')
require 'test/unit'
require 'active_record'
require 'active_record/fixtures'
require 'connection'
class Test::Unit::TestCase #:nodoc:
def create_fixtures(*table_names)
if block_given?
Fixtures.create_fixtures(File.dirname(__FILE__) + "/fixtures/", table_names) { yield }
else
Fixtures.create_fixtures(File.dirname(__FILE__) + "/fixtures/", table_names)
end
end
end
Test::Unit::TestCase.fixture_path = File.dirname(__FILE__) + "/fixtures/"
Jump to Line
Something went wrong with that request. Please try again.