spree-contrib/spree-product-assembly

latest commit 5c6eb7cc99 breaks rspec tests

cindyward1 opened this issue · 0 comments

The change to assembly_shipment_serializer.rb in this commit is blowing up rspec with a load error:

/Users/cindytrialguides/spree-product-assembly/vendor/ruby/2.1.0/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:481:in `load_missing_constant': Unable to autoload constant Spree::Wombat::AssemblyShipmentSerializer, expected /Users/cindytrialguides/spree-product-assembly/app/serializers/spree/wombat/assembly_shipment_serializer.rb to define it (LoadError)

The 'if defined?(ShipmentSerializer)' check needs to be added to assembly_shipment_serializer_spec.rb. All of the tests complete if it is.