ManageIQ/manageiq — pull request #340 by h-kataria (2014-08-04 21:04:33+00:00)
Title: Reset target_id when "None" is selected in Type pull-down.

- Reset target_id key to nil when target_class selection is set to none.
- Added spec test to verify value of target_id key

https://bugzilla.redhat.com/show_bug.cgi?id=1097876

@dclarizio please review/test.