spree/spree — pull request #3579 by petergoldstein (2013-08-17 01:13:56+00:00)
Title: Add explicit ordering to taxons returned by API

Add an explicit ordering to the taxons rather than depending on the implicit ordering in the database. Previously this ordering was dependent on the database, and because Postgres did not implement the expected ordering the spec was failing.

Ordering was chosen for top-down, left to right ordering of taxons in the order in which taxonomies were defined. This fixes a failing spec in Postgres.