Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in factory-bot

Shoulda + FactoryGirl: Can I make my tests faster?

Accessing child attributes from parent Factory Girl factories

FactoryGirl attributes_for and associations

Best practice for FactoryGirl with deep association chains?

FactoryGirl has_many association

ruby-on-rails factory-bot

FactoryGirl to_create return value

factory-bot

Rails4 - testing confused..needs recommendation

FactoryGirl blowing up spec due to foreign key in model

how to use traits for associated factories?

rspec - PG::UnableToSend:server closed the connection unexpectedly This probably means the server terminated abnormally

How to make FactoryBot return the right STI sub class?

FactoryGirl belongs_to association

Carrierwave upload works in rails console but not in spec

How to stub gmaps4rails geocode functions in rspec tests?

rspec controller testing, Expected response to be a <redirect>, but was <200>

RSpec controller tests of PUT update action on nested resource

Factory Girl with multiple associations with the same parent

How to test that a file is uploaded in a controller?

FactoryGirl, has_one association and validation failed

How to specify the association with factory_bot?