Module: FixToChix

Defined in:
lib/fix_to_chix.rb,
lib/fix_to_chix/controller.rb,
lib/fix_to_chix/factory_writer.rb,
lib/fix_to_chix/fixture_parser.rb,
lib/fix_to_chix/fixture_selector.rb

Defined Under Namespace

Classes: Controller, FactoryWriter, FixtureParser, FixtureSelector

Constant Summary collapse

VERSION =
'0.0.5'
APP_ROOT =

need to call fixtochix command from your app base

"."
TEST_FIXTURES =
"#{APP_ROOT}/test/fixtures/*"
SPEC_FIXTURES =
"#{APP_ROOT}/spec/fixtures/*"
SPEC_TARGET =
"#{APP_ROOT}/spec"
TEST_TARGET =
"#{APP_ROOT}/test"
SPEC_TARGET_FILE =
"#{SPEC_TARGET}/factories.rb"
TEST_TARGET_FILE =
"#{TEST_TARGET}/factories.rb"

Class Method Summary collapse

Class Method Details

.execute(options) ⇒ Object



24
25
26
# File 'lib/fix_to_chix.rb', line 24

def self.execute(options)
  FixToChix::Controller.parse_it_all!(options)
end