Rails 3.x: Fix to work the test

- update => update_attributes
- :customer => Comable::Customer.table_name.singularize.foreign_key