Module: AnnotateRb::ModelAnnotator::PatternGetter::FilePatterns
- Defined in:
- lib/annotate_rb/model_annotator/pattern_getter.rb
Constant Summary collapse
- CONTROLLER_DIR =
Controller files
File.join("app", "controllers")
- ACTIVEADMIN_DIR =
Active admin registry files
File.join("app", "admin")
- HELPER_DIR =
Helper files
File.join("app", "helpers")
- UNIT_TEST_DIR =
File.join for windows reverse bar compat? I dont use windows, can`t test
File.join("test", "unit")
- MODEL_TEST_DIR =
since rails 4.0
File.join("test", "models")
- SPEC_MODEL_DIR =
File.join("spec", "models")
- FIXTURE_TEST_DIR =
File.join("test", "fixtures")
- FIXTURE_SPEC_DIR =
File.join("spec", "fixtures")
- CONTROLLER_TEST_DIR =
Other test files
File.join("test", "controllers")
- CONTROLLER_SPEC_DIR =
File.join("spec", "controllers")
- REQUEST_SPEC_DIR =
File.join("spec", "requests")
- ROUTING_SPEC_DIR =
File.join("spec", "routing")
- EXEMPLARS_TEST_DIR =
Object Daddy github.com/flogic/object_daddy/tree/master
File.join("test", "exemplars")
- EXEMPLARS_SPEC_DIR =
File.join("spec", "exemplars")
- BLUEPRINTS_TEST_DIR =
Machinist github.com/notahat/machinist
File.join("test", "blueprints")
- BLUEPRINTS_SPEC_DIR =
File.join("spec", "blueprints")
- FACTORY_BOT_TEST_DIR =
Factory Bot github.com/thoughtbot/factory_bot
File.join("test", "factories")
- FACTORY_BOT_SPEC_DIR =
File.join("spec", "factories")
- FABRICATORS_TEST_DIR =
Fabrication github.com/paulelliott/fabrication.git
File.join("test", "fabricators")
- FABRICATORS_SPEC_DIR =
File.join("spec", "fabricators")
- SERIALIZERS_DIR =
Serializers github.com/rails-api/active_model_serializers
File.join("app", "serializers")
- SERIALIZERS_TEST_DIR =
File.join("test", "serializers")
- SERIALIZERS_SPEC_DIR =
File.join("spec", "serializers")