-
### Steps to reproduce
* create a gem
* add `s.add_development_dependency 'factory_bot'` to gemspec (version 6.4.6 is installed for me)
* add spec_helper file with `require 'factory_bot'
### Exp…
-
This idea is inspired by [factory_bot](http://www.rubydoc.info/gems/factory_bot/file/GETTING_STARTED.md#Traits). Off the top of my head, it could look something like this:
```TypeScript
interface …
-
The following code:
```ruby
def validators_on(*args)
[
super,
resource_class.validators_on(*args),
*@auxiliary_resource_classes.map do |klass|
klas…
-
Please consider bringing back the old GETTING_STARTED readme-style doc. It was far easier to navigate and find examples and needed info. The new docs are split up so granularly that it's really hard t…
-
RSpecの環境はカリキュラムと同じにした
- rspec-rails (5.1.2)
- selenium-webdriver (4.3.0)
- factory_bot_rails (6.2.0)
-
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Community Note
* Please vote on this issue by adding a :thumbsup: [reaction](https://blog.github.com/2016-…
-
### Description
A factory can have the same trait multiple times
### Reproduction Steps
```ruby
FactoryBot.define do
factory :user, class: OpenStruct do
trait :admin do
name …
-
Consider the following file:
```ruby
# frozen_string_literal: true
FactoryBot.define do
factory :post do
association :user, strategy: :create
end
end
```
This triggers a `FactoryBot…
-
Now che-bot provide factory link for PR in che-theia:
I would be very nice if we have same for PR in che-plugin-registry, to have ability to test modifications in plugin `meta.yaml` more easy.
-
@Yihang I already upgraded the app to Factory-Bot wich is new and replaces Factory-Girl. (it is only actually a renaming).
When I run the spec
./bin/bundle exec rspec spec/controllers/log_data_con…