1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot.git synced 2022-11-09 11:43:51 -05:00
thoughtbot--factory_bot/lib/factory_girl
Joshua Clayton 6a692fe711 Add FactoryGirl.lint to ensure all factories are valid
This commit adds FactoryGirl.lint, which iterates over each defined
factory, builds it, and ensures it is valid. If any factories are
invalid, an exception is raised and includes the names of each invalid
factory.
2014-02-07 22:21:08 -05:00
..
attribute Use instance_exec passing self as an argument for dynamic attributes 2013-06-07 10:42:50 -04:00
declaration Improve ability to define associations with traits and add documentation 2012-08-02 10:19:17 -04:00
decorator Prep for FactoryGirl 4.0 2012-08-02 11:17:39 -04:00
strategy Match build_stubbed's created_at type to ActiveRecord 2012-12-21 13:09:32 -08:00
syntax Add global callbacks 2013-02-08 11:24:35 -05:00
aliases.rb Cleanup 2012-05-05 02:59:13 -04:00
attribute.rb Extract logic for checking attribute declaration syntax to separate class 2012-05-05 20:08:29 -04:00
attribute_assigner.rb Update repo to follow thoughtbot guide for whitespace in blocks 2013-12-14 22:33:15 -05:00
attribute_list.rb Update repo to follow thoughtbot guide for whitespace in blocks 2013-12-14 22:33:15 -05:00
callback.rb Allow use of Symbol#to_proc in FactoryGirl callbacks 2013-04-05 10:14:29 -04:00
callbacks_observer.rb Update repo to follow thoughtbot guide for whitespace in blocks 2013-12-14 22:33:15 -05:00
configuration.rb Update repo to follow thoughtbot guide for whitespace in blocks 2013-12-14 22:33:15 -05:00
declaration.rb Clean up documentation 2012-05-05 02:31:31 -04:00
declaration_list.rb Update repo to follow thoughtbot guide for whitespace in blocks 2013-12-14 22:33:15 -05:00
decorator.rb Fix namespace issues in 1.9.2 2012-06-08 12:17:21 -04:00
definition.rb Update repo to follow thoughtbot guide for whitespace in blocks 2013-12-14 22:33:15 -05:00
definition_hierarchy.rb Add global callbacks 2013-02-08 11:24:35 -05:00
definition_proxy.rb Raise if a method is defined with a FactoryGirl block (factory or trait) 2013-04-26 16:10:19 -04:00
errors.rb Add FactoryGirl.lint to ensure all factories are valid 2014-02-07 22:21:08 -05:00
evaluation.rb Allow to_create defined for all factories 2012-05-12 18:10:02 -04:00
evaluator.rb Fix warnings 2013-01-18 13:58:14 -05:00
evaluator_class_definer.rb Clean up documentation 2012-05-05 02:31:31 -04:00
factory.rb Update repo to follow thoughtbot guide for whitespace in blocks 2013-12-14 22:33:15 -05:00
factory_runner.rb Style cleanup 2012-05-05 01:14:21 -04:00
find_definitions.rb Update repo to follow thoughtbot guide for whitespace in blocks 2013-12-14 22:33:15 -05:00
null_factory.rb Add DefinitionHierarchy to handle inheritance of some definition attributes 2012-07-11 23:05:16 -04:00
null_object.rb Add respond_to_missing? on NullObject for 1.9 compatability 2012-07-27 10:14:57 -04:00
registry.rb Support refering to factory based on class name 2012-06-08 23:54:22 -04:00
reload.rb Styles 2012-05-12 19:05:25 -04:00
sequence.rb Evaluate sequences within the context of the Evaluator when possible 2013-01-18 09:33:54 -05:00
strategy_calculator.rb Clean up documentation 2012-05-05 02:31:31 -04:00
strategy_syntax_method_registrar.rb Add *_pair methods to create only two records 2013-11-01 17:32:50 -04:00
syntax.rb Prep for FactoryGirl 4.0 2012-08-02 11:17:39 -04:00
syntax_runner.rb Clean up documentation 2012-05-05 02:31:31 -04:00
trait.rb Fix initialize_with in the context of traits 2012-05-11 12:00:03 -04:00
version.rb Bump version to 4.3.0 2013-11-03 22:21:04 -05:00