mirror of
https://github.com/thoughtbot/factory_bot.git
synced 2022-11-09 11:43:51 -05:00
Removed some todos
This commit is contained in:
parent
3e08d6f159
commit
b15fdc1b04
1 changed files with 0 additions and 4 deletions
|
@ -14,8 +14,6 @@ describe "integration" do
|
|||
admin false
|
||||
email { "#{first_name}.#{last_name}@example.com".downcase }
|
||||
|
||||
# TODO: nested factories
|
||||
|
||||
aliased_as :author
|
||||
end
|
||||
|
||||
|
@ -24,7 +22,6 @@ describe "integration" do
|
|||
author
|
||||
end
|
||||
|
||||
# TODO: syntax for build classes
|
||||
factory :admin, :class => User do
|
||||
first_name 'Ben'
|
||||
last_name 'Stein'
|
||||
|
@ -43,7 +40,6 @@ describe "integration" do
|
|||
end
|
||||
|
||||
factory :user_with_callbacks, :parent => :user do
|
||||
# TODO: evaluate in context of instance
|
||||
after_stub {|u| u.first_name = 'Stubby' }
|
||||
after_build {|u| u.first_name = 'Buildy' }
|
||||
after_create {|u| u.last_name = 'Createy' }
|
||||
|
|
Loading…
Add table
Reference in a new issue