Search code examples
Pass parameter in setting attribute on association in FactoryGirl...

ruby-on-railsruby-on-rails-3rspecfactory-bot

Read More
How to reload a variable defined by let...

ruby-on-railsrubyrspecfactory-bot

Read More
How can I share the factories that I have in a GEM and use it in other project?...

ruby-on-railsrubyrspecrubygemsfactory-bot

Read More
How do I install factory_bot_rails? I am using Rspec...

ruby-on-railsrspecfactory-bot

Read More
How to have one factory with two different names...

rubyfactory-bot

Read More
Rails FactoryGirl inside app in development env...

ruby-on-railsfactory-bot

Read More
How do I save a local variable within a factory...

ruby-on-railsfactory-bot

Read More
How to make FactoryBot return the right STI sub class?...

ruby-on-railsrspecfactory-bot

Read More
FactoryBot namespaced models without class_name...

ruby-on-railsrubyactiverecordfactory-bot

Read More
Can FactoryBot generate factories after your models have been created?...

ruby-on-railsrubyfactory-bot

Read More
"Could not find a valid mapping for #<User ...>" only on second and successive tests...

deviseintegration-testingrspec2factory-bot

Read More
Rails: Avoiding duplication errors in Factory Girl...am I doing it wrong?...

ruby-on-rails-3factory-bot

Read More
How to prevent ActiveRecord from making an associated record in a callback before it is saved?...

ruby-on-railsactiverecordrspecassociationsfactory-bot

Read More
Circular dependency in FactoryBotRails Factories...

ruby-on-railsrspecfactory-bot

Read More
How to configure FactoryBot files path in a Rails engine?...

ruby-on-railsfactory-botrspec-rails

Read More
How to specify the association with factory_bot?...

ruby-on-railsrubyrspecfactory-bot

Read More
What is the purpose of a `transient do` block in FactoryBot factories?...

ruby-on-railsrubyrspecfactory-bot

Read More
RSpec gives error 'trait not registered: name'...

ruby-on-rails-3rspecfactory-bot

Read More
How to add "config.include FactoryBot::Syntax::Methods" to rspec config block in spec_help...

ruby-on-railsrspecfactory-botrspec-rails

Read More
Not require FactoryBot preface before create...

ruby-on-railsfactory-bot

Read More
How can I add a function to FactoryBot globally?...

ruby-on-railsrubyfactory-botrspec-rails

Read More
Rails association.create and association.create! returns nil...

ruby-on-railsfactory-bot

Read More
Seeded database key values conflicting with factory bot create/build...

ruby-on-railsrspecruby-on-rails-5factory-botrspec-rails

Read More
Update associated object within a FactoryBot trait...

ruby-on-railsrubyassociationsfactory-bot

Read More
For an ActiveRecord model with overridden `New` method, how to provide custom test subject with para...

ruby-on-railsunit-testingrspecfactory-botshoulda-matchers

Read More
How to send in a random variable from Rails Rspec test to application controller? (devise, factorybo...

ruby-on-railsrspecdevisecapybarafactory-bot

Read More
Call trait from another trait with params in factory_bot...

ruby-on-railsfactory-bot

Read More
FactoryGirl Rspec Rails user has a different name...

ruby-on-railsrspeccapybarafactory-bot

Read More
How to test child creation in hierarchical parent-child relationship with Rspec / Rails 5.2?...

ruby-on-railsrspecfactory-bot

Read More
Weird error when testing `has_many` association with a conditional scope with Rspec & FactoryBot...

ruby-on-railsrspecfactory-bot

Read More
BackNext