Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in factory-bot

Rails 4.2.6 FactoryGirl with polymorphic association

How to call the create action from the controller in RSpec

factory girl pass argument to many to many association

Factory Girl with polymorphic association for has_many and has_one

How to get FactoryGirl model attributes with has_and_belongs_to_many association?

RSpec: Include a custom helper module in spec_helper.rb

ControllerMacros method not being loaded by RSpec

rake db:fixtures:load on factory_girl

Why are my tests failing with bad argument (expected URI object or URI string) error?

Why does this requests spec fail intermittently, or how can I debug it?

Not require FactoryBot preface before create

ruby-on-rails factory-bot

uninitialized constant FactoryGirl when run rspec, but works in console

How do you define trait using Fabrication

I can't save an object with RSpec 2 and FactoryGirl

An error occurred while loading ./spec/controllers/users_controller_spec.rb

ruby factory-bot

RSpec test to check (Rails model: validates :something, :inclusion => list from other activeRecord)

NoMethodError: undefined method `email' for nil:NilClass (Rspec/factory girl/cancan/devise)