Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in factory-bot

How do you reference the class within a factory using Factory Girl?

ruby factory-bot

Factory Bot 5 on Rails 6 throws validation error when running build_stubbed factory

How can I generate sequence values of mixed letter characters and number digits in FactoryBot?

Rails: Undefined method 'name' in 'user' factory OR Undefined Method for all factories

Can I ask Factory Girl if a given factory exists?

ruby-on-rails factory-bot

Clear database after testing a rake task using RSpec

Rails factory_girl create_list builds the same object

factory girl and nested_attributes in rails 3

How do I create an admin role with Factory girl?

Testing presence and belongs_to with Rspec

Test data generation for Ember.js (like factory_girl or machinist)

factory girl - passing association data

ruby-on-rails factory-bot

Using FactoryGirl's attributes_for with Paperclip attachment

Creating an array of values in FactoryGirl, each of which is unique

FactoryGirl — Factory not registered

Updating from FactoryGirl to factoryBot results in NoMethodError

ruby rspec factory-bot

How do I create a factory for models that have a has_one/belongs_to relationship with validations that are usually overcome by nested attributes?

RSpec + FactoryGirl and controller specs

passing params to post :create request ruby-on-rails-3.1, Rspec, factory-girl