Growstuff/growstuff — pull request #395 by tygriffin (2014-08-30 02:28:16+00:00)
Title: Fix edit bug

There was a bug such that editing a harvest, planting or seed (or any resource using autosuggest) would not work unless the crop was edited to something new. This was because the hidden crop_id input field was not being populated unless autosuggest was triggered. Fixed it and added a regression test.

Note: Some of these tests may need a refactor in the near future. The location of the shared specs for autosuggest is giving off a meaningless warning. Move the specs into the support directory perhaps.