This website requires JavaScript.
Explore
Help
Sign in
kotovalexarian-likes-github
/
thoughtbot--factory_bot
Watch
1
Star
0
Fork
You've already forked thoughtbot--factory_bot
0
mirror of
https://github.com/thoughtbot/factory_bot.git
synced
2022-11-09 11:43:51 -05:00
Code
Releases
Activity
f1f7719f6e
thoughtbot--factory_bot
/
lib
/
factory_bot
/
strategy
/
null.rb
12 lines
149 B
Ruby
Raw
Normal View
History
Unescape
Escape
Replace 'girl' with 'bot' everywhere (#1051) Also: add a deprecation warning to factory_girl, asking users to switch to factory_bot https://github.com/thoughtbot/factory_girl/issues/921
2017-10-20 15:20:28 -04:00
module
FactoryBot
Refactor Strategies This changes Strategy from a class to a module and removes inheritance. It introduces an Evaluation facade to make building strategies easier
2012-04-13 14:20:19 -04:00
module
Strategy
Use a null strategy so association behaves in a similar way across all strategy subclasses
2012-03-30 17:30:20 -04:00
class
Null
def
association
(
runner
)
end
Refactor Strategies This changes Strategy from a class to a module and removes inheritance. It introduces an Evaluation facade to make building strategies easier
2012-04-13 14:20:19 -04:00
def
result
(
evaluation
)
Use a null strategy so association behaves in a similar way across all strategy subclasses
2012-03-30 17:30:20 -04:00
end
end
end
end
Copy permalink