SpreeVariantColumns
Adds upc, mpc, gtin columns to variant model.
Installation
Add spree_variant_columns to your Gemfile:
gem 'spree_variant_columns', github: 'arkhitech/spree_variant_columns'
Bundle your dependencies and run the installation generator:
bundle
bundle exec rails g spree_variant_columns:install
Testing
First bundle your dependencies, then run rake
. rake
will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using rake test_app
.
bundle
bundle exec rake
When testing your applications integration with this extension you may use it's factories.
Simply add this require statement to your spec_helper:
require 'spree_variant_columns/factories'
Copyright (c) 2014 Arkhitech, released under the New BSD License