Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use dynamic attributes on factories [v2.6] #3079

Merged
merged 2 commits into from
Feb 6, 2019

Conversation

aitbw
Copy link
Contributor

@aitbw aitbw commented Feb 5, 2019

Description

Solidus extensions for versions 2.5 and 2.6 are broken because, when running bundle, they're installing FactoryBot v5.0, which has removed static completely (see announcement here)

This PR cherry-picks the changes introduced by @fastjames in #2831 in order to fix this inconvenience.

Ref: #3074

Checklist:

  • Pull Request guidelines are respected
  • Documentation/Readme have been updated accordingly
  • Changes are covered by tests (if possible)
  • Each commit has a meaningful message attached that described WHAT changed, and WHY

Factory_bot is now flagging static factory attributes as deprecated,
pending removal in version 5.0.
This fixes the flaky spec described into solidusio#2910.

Capybara fill_in sometime does not fill the input with the whole
string. This commit will fill it with js bypassing the default
behavior.
Copy link
Contributor

@ericsaupe ericsaupe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Member

@spaghetticode spaghetticode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thank you Angel!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants