We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How can one load spree seed data to run unit tests against?
The text was updated successfully, but these errors were encountered:
You shouldn't load all the seed data for unit tests you should only create the data you need for the test.
In your application or extension specs you can use the available spree factories by adding: require 'spree/testing_support/factories'
require 'spree/testing_support/factories'
To your spec_helper.rb file.
Please direct general questions to our mailing list https://groups.google.com/forum/#!forum/spree-user as we only use github for tracking issues.
Sorry, something went wrong.
No branches or pull requests
How can one load spree seed data to run unit tests against?
The text was updated successfully, but these errors were encountered: