measuredvoice/ringsail — Issue #7: Accounts without an account name should not be saved
Author: globalspin
Created: 2012-01-31 17:31:51+00:00
State: open
Labels: 1 - Backlog

Accounts (outlets) without an account name should not be saved (even from the rake db:populate or db:forcerefresh processes).

Current behavior:

1. Add an unresolvable URL to the accounts.csv file. (e.g. http://flickr.com/123/crazypants)
2. Load the CSV file using rake db:forcerefresh.
3. The outlet is saved with a generic service_url and no account (http://flickr.com/photos/)

Desired behavior:

1. ...
2. ...
3. A warning should be raised and the outlet (account) should not be saved.