Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in factory-bot

Factory_Girl + RSpec: undefined method 'create' when create(:user)

How to mock and stub active record before_create callback with factory_girl

rspec test passes in isolation, but fails when run with other tests

Factory Girl failing Rspec validation tests

Login Failure when Testing with Capybara, Rspec and Selenium in Rails 3.1

Factory Girl: How to associate a record to another record without creating a new record?

How to user factory girl to create associated lists with a has_many with a validation that requires it on create

FactoryGirl: Factory not registered

What is the proper way to select an item randomly from an array when writing factories with factory_girl?

ruby-on-rails factory-bot

factory_girl + rspec doesn't seem to roll back changes after each example

AssociationTypeMismatch and FactoryGirl

Defining factories for a class inside a module

Undefined methods for FactoryGirl transient variables

FactoryGirl has_many association with validation

ruby-on-rails factory-bot

undefined method `create' in Rails RSpec

when does factory girl create objects in db?

Ruby Gem: Uninitialized constant FactoryBot

ruby factory-bot

How to pass parameters through the associations chain in FactoryGirl

FactoryGirl override attribute of associated object

Bypass Rails validations when creating FactoryGirl objects

ruby-on-rails factory-bot