Rename option_type_for_variant_unit to variant_unit_option_type
Add specs for option value creation, create option values for simple case. Delete option value associations, not objects.
Generate option value name - value and description
Generate option value values and units for weight, volume and items
When value is blank, display description only
Fix specs to work with unit_value stored in base units, scale units correctly for output
Add spec for small values
Refactor: Extract methods to simplify
Fix megalitre unit specification
Merge branch 'master' into product-amount-units
Spec for reusing existing option values
When variant already has a value set, remove old option value and assign a new one
Fix product lists not matching when saving changes to product unit+values fields
Remove redundant test stubs
Add comment
On load, scale from base unit to chosen unit (eg. g to kg)
On save, scale from chosen unit to base unit (eg. mL to L)
Do not delete variant options_text when saving/refreshing products
Fix intermittently failing spec - comparison of slightly differing dates
Update acceptance specs to expect unit values to be stored in base units