mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Fix expected variant option type name/presentation
This commit is contained in:
@@ -113,8 +113,8 @@ module Spree
|
||||
|
||||
ov = Spree::OptionValue.last
|
||||
ov.option_type.should == @ot
|
||||
ov.name.should == '10 g foo'
|
||||
ov.presentation.should == '10 g foo'
|
||||
ov.name.should == '10g foo'
|
||||
ov.presentation.should == '10g foo'
|
||||
|
||||
v.option_values.should include ov
|
||||
end
|
||||
@@ -139,8 +139,8 @@ module Spree
|
||||
|
||||
ov = v.option_values.last
|
||||
ov.option_type.should == @ot
|
||||
ov.name.should == '10 g foo'
|
||||
ov.presentation.should == '10 g foo'
|
||||
ov.name.should == '10g foo'
|
||||
ov.presentation.should == '10g foo'
|
||||
|
||||
v_orig.option_values.should include ov
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user