factory_bot icon indicating copy to clipboard operation
factory_bot copied to clipboard

A library for setting up Ruby objects as test data.

Results 135 factory_bot issues
Sort by recently updated
recently updated
newest added

### Description Ensures build_stubbed generates a record with equal created_at and updated_at. ### Current behavior Calling `.build_stubbed` on factories with entities that have created_at and updated_at assigns a slightly different...

Bumps [rake](https://github.com/ruby/rake) from 13.0.3 to 13.2.1. Changelog Sourced from rake's changelog. === 13.2.1 Suppressed "internal:array:52:in 'Array#each'" from backtrace by @​hsbt in #554 Bump actions/configure-pages from 4 to 5 by @​dependabot...

dependencies
ruby

Bumps [standard](https://github.com/standardrb/standard) from 1.34.0 to 1.36.0. Changelog Sourced from standard's changelog. 1.36.0 Updates rubocop to 1.63.5 Updates standard-performance to 1.4.0 1.35.1 Corrects rubocop constraint to the patch version, not minor...

dependencies
ruby

Bumps [simplecov](https://github.com/simplecov-ruby/simplecov) from 0.21.2 to 0.22.0. Changelog Sourced from simplecov's changelog. 0.22.0 (2022-12-23) Enhancements On Ruby 3.2+, you can now use the new Coverage library feature for eval - See...

dependencies
ruby

Bumps [appraisal](https://github.com/thoughtbot/appraisal) from 2.3.0 to 2.5.0. Release notes Sourced from appraisal's releases. 2.5.0 Split binstubs from accepance test helpers install (#209) Drop support for Travis CI (#208) Fix missing source...

dependencies
ruby

Bumps [aruba](https://github.com/cucumber/aruba) from 1.0.4 to 2.1.0. Changelog Sourced from aruba's changelog. [2.1.0] / 2022-05-20 Support Cucumber 8 (#870 by [mvz] with [dependabot]) [2.0.1] / 2022-04-22 Various cleanups of internal APIs...

dependencies
ruby

FactoryBot throws an error when defining factories that refer to classes within modules in non-Rails applications. FactoryBot will work, but the class used by the factory must be explicitly stated...

Bumps [standard](https://github.com/standardrb/standard) from 1.34.0 to 1.38.0. Changelog Sourced from standard's changelog. 1.38.0 Update minimum Ruby version to 3.0 @​koic backported a line column bug in our LSP #635 Implement a...

dependencies
ruby

When running `bundle install`, are having an issue with sqlite3 version 1.4.2. It is not building on CI, M1 or Intel chips: ``` Building native extensions. This could take a...

`to_create` has either arity of one - `to_create {|instance| do something }` or two `to_create {|instance, context| do something with instance and context }` **For the context**, we are using...