Class: Test::Unit::TestCase

Inherits:
Object
  • Object
show all
Defined in:
lib/junebug/ext/mosquito.rb

Overview

:nodoc:

Direct Known Subclasses

Camping::Test

Instance Method Summary collapse

Instance Method Details

#create_fixtures(*table_names) ⇒ Object



19
20
21
22
23
24
25
# File 'lib/junebug/ext/mosquito.rb', line 19

def create_fixtures(*table_names)
  if block_given?
    Fixtures.create_fixtures(Test::Unit::TestCase.fixture_path, table_names) { yield }
  else
    Fixtures.create_fixtures(Test::Unit::TestCase.fixture_path, table_names)
  end
end