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
[Bye bye Spree] Make OFN independent of all spree spec factories #5943
[Bye bye Spree] Make OFN independent of all spree spec factories #5943
Conversation
…we need to bring from spree_core
the 3 factories I cannot figure out out to make this work again...
… stock location of the product factory
56cb8f3
to
211f684
Compare
211f684
to
ee158e8
Compare
We dont need the global zone
ee158e8
to
17955e0
Compare
17955e0
to
41d67d8
Compare
@@ -1,22 +1,10 @@ | |||
require 'ffaker' | |||
require 'spree/testing_support/factories' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the magic of this PR: no spree factories used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏
👍 I ended up running rubocop -a on spec/factories (last commit). Let's see if the build is ok. EDIT: Build is ok :-) |
What? Why?
Relates to #4826
Move all necessary factories from spree_core to ofn.
What should we test?
A green build is enough here, only test code changed.
Release notes
Changelog Category: Changed
Brought test support code from spree so that we can make OFN independent of Spree.