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 proper fixture path for Backend file fixtures #3424

Merged

Conversation

JuanCrg90
Copy link
Contributor

@JuanCrg90 JuanCrg90 commented Nov 10, 2019

Description
backend/spec/support/ is not the best place for fixture files. This
creates the /spec/fixture/files directory path and updates the tests to
use file_fixture instead of a hardcoded file path.

closes #3421

Checklist:

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have updated Guides and README accordingly to this change (if needed)
  • I have added tests to cover this change (if needed)
  • I have attached screenshots to this PR for visual changes (if needed)

backend/spec/support/ is not the best place for fixture files. This
creates the /spec/fixture/files directory path and updates the tests to
use file_fixture instead of a hardcoded file path.
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.

@JuanCrg90 thank you! 👍

Copy link
Member

@kennyadsl kennyadsl left a comment

Choose a reason for hiding this comment

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

Thanks @JuanCrg90 !

@kennyadsl kennyadsl merged commit 9119d6c into solidusio:master Nov 14, 2019
@JuanCrg90 JuanCrg90 deleted the chore/use-proper-fixture-backend branch November 14, 2019 15:01
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.

Use proper fixture path for backend file fixtures
3 participants