Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
annotate
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
annotate
Commits
9a7bd94f
Commit
9a7bd94f
authored
Jan 17, 2020
by
Shu Fujita
Committed by
Andrew W. Lee
Jan 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename FactoryGirl to FactoryBot (#721)
parent
da0adbdb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
annotate_models.rb
lib/annotate/annotate_models.rb
+3
-3
tasks.rb
...ails_3.2_autoloading_factory_girl/test/factories/tasks.rb
+1
-1
No files found.
lib/annotate/annotate_models.rb
View file @
9a7bd94f
...
@@ -38,9 +38,9 @@ module AnnotateModels
...
@@ -38,9 +38,9 @@ module AnnotateModels
BLUEPRINTS_TEST_DIR
=
File
.
join
(
'test'
,
"blueprints"
)
BLUEPRINTS_TEST_DIR
=
File
.
join
(
'test'
,
"blueprints"
)
BLUEPRINTS_SPEC_DIR
=
File
.
join
(
'spec'
,
"blueprints"
)
BLUEPRINTS_SPEC_DIR
=
File
.
join
(
'spec'
,
"blueprints"
)
# Factory Girl http
://github.com/thoughtbot/factory_girl
# Factory Girl http
s://github.com/thoughtbot/factory_bot
FACTORY_
GIRL
_TEST_DIR
=
File
.
join
(
'test'
,
"factories"
)
FACTORY_
BOT
_TEST_DIR
=
File
.
join
(
'test'
,
"factories"
)
FACTORY_
GIRL
_SPEC_DIR
=
File
.
join
(
'spec'
,
"factories"
)
FACTORY_
BOT
_SPEC_DIR
=
File
.
join
(
'spec'
,
"factories"
)
# Fabrication https://github.com/paulelliott/fabrication.git
# Fabrication https://github.com/paulelliott/fabrication.git
FABRICATORS_TEST_DIR
=
File
.
join
(
'test'
,
"fabricators"
)
FABRICATORS_TEST_DIR
=
File
.
join
(
'test'
,
"fabricators"
)
...
...
spec/integration/rails_3.2_autoloading_factory_girl/test/factories/tasks.rb
View file @
9a7bd94f
# Read about factories at https://github.com/thoughtbot/factory_
girl
# Read about factories at https://github.com/thoughtbot/factory_
bot
FactoryGirl
.
define
do
FactoryGirl
.
define
do
factory
:task
do
factory
:task
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment