factory girl

A collection of 2 posts
Factory Girl (Bot) Associations
ruby on rails

Factory Girl (Bot) Associations

In this article we will go through how to generate the data for has_one, has_many and polymorphic associations using FactoryGirl. Every association will be described with an example, so you can get the idea how to create more complex factories with no pain. Generating the data for has_
2 min read
FactoryGirl (Bot) - create vs build vs build_stubbed
ruby on rails

FactoryGirl (Bot) - create vs build vs build_stubbed

If you are new to writing RSpec tests in Rails using FactoryGirl (bot), you can ask yourself what is the difference between create, build and build_stubbed. In this article, we will do our best to help you understand them better. Let's say we are testing a valid profile creation:
2 min read
Page 1 of 1
Novi Sad, Serbia, Europe
  • Company
  • About Us
  • Careers
  • Blog
  • Contact
  • Services
  • Our Process
  • Portfolio
  • Solutions
  • Design Review
  • Code Review
  • Open Source
Copyright © 2023 KOLOSEK. All rights reserved.