Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in factory-bot

how to define factories with a inheritance user model

Why isn't factory_girl operating transactionally for me? - rows remain in database after tests

ruby-on-rails factory-bot

Using factory_girl_rails with Rspec on namespaced models

Meaning for attributes_for in FactoryGirl and Rspec Testing

Factory Girl + Mongoid embedded documents in fixtures

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

FactoryGirl + Faker - same data being generated for every object in db seed data

How to test model's callback method independently?

Machinist vs FactoryGirl - pros and cons

Upgrading to devise 3.1 => getting Reset password token is invalid

FactoryGirl build_stubbed strategy with a has_many association

ruby-on-rails factory-bot

Rails 3.2, RSpec, Factory Girl : NameError: uninitialized constant Factory

Populating an association with children in factory_girl

Using factory_girl in Rails with associations that have unique constraints. Getting duplicate errors

"undefined method `env' for nil:NilClass" in 'setup_controller_for_warden' error when testing Devise using Rspec

Factory already registered: user (FactoryGirl::DuplicateDefinitionError)

ActiveModel::MissingAttributeError: can't write unknown attribute `ad_id' with FactoryGirl

ruby-on-rails factory-bot

How do I simulate a login with RSpec?

Can FactoryBot generate factories after your models have been created?

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