alphagov / trade-tariff-backend

Enabling the population and distribution via API of UK Customs tariffs and duties
MIT License
7 stars 6 forks source link

Fix Measure change serialization #123

Closed saulius closed 10 years ago

saulius commented 10 years ago

This change is for https://www.pivotaltracker.com/story/show/60242196

As in commodities#show request Measure should expose the following structure:

{
  measure_type: {
    id: '',
    description: ''
  }
}

Instead of having measure_type_description key.

This prevent certain goods code changes from working.

Fixed/enhanced a few specs as well.

jabley commented 10 years ago

Travis failure – genuine issue, or drop 1.9.2 support?

saulius commented 10 years ago

All is well now, Travis might have been misbehaving.