adjusted spec_helper to include factories
fixed straggling FactoryGirl call
cleaned up .url call in attachments controller
removed errant .url in spec_helper