mirror of
https://github.com/thoughtbot/factory_bot_rails.git
synced 2022-11-09 11:49:18 -05:00
Rename all girl -> bot
* Rename files and code
* Change factory_girl dependency to factory_bot
This change will bring _rails name in line with factory_bot
c716ce01b4
This commit is contained in:
parent
dca37318f3
commit
c5d11518d7
26 changed files with 156 additions and 135 deletions
|
|
@ -26,7 +26,7 @@ When /^I configure the factories directory as "([^"]+)"$/ do |factory_dir|
|
|||
append_to_file File.join('config', 'application.rb'), <<-END
|
||||
class Testapp::Application
|
||||
config.generators do |g|
|
||||
g.fixture_replacement :factory_girl, :dir => "#{factory_dir}"
|
||||
g.fixture_replacement :factory_bot, :dir => "#{factory_dir}"
|
||||
end
|
||||
end
|
||||
END
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue