Top Level Namespace

Defined Under Namespace

Modules: Mongoid, MongoidRailsFixtures, Rails, YAML Classes: Fixture, FixtureClassNotFound, Fixtures

Instance Method Summary collapse

Instance Method Details

#create_fixtures(*table_names, &block) ⇒ Object



16
17
18
# File 'lib/mongoid_rails_fixtures/mongoid_ext/test_help.rb', line 16

def create_fixtures(*table_names, &block)
  Fixtures.create_fixtures(ActiveSupport::TestCase.fixture_path, table_names, {}, &block)
end