PartidoDeInternet / AgoraOnRails

Redesign & Hack Democracy
http://agoraonrails.com
42 stars 21 forks source link

Spokesmen profile #66

Closed hcarreras closed 10 years ago

hcarreras commented 10 years ago

Just improve what I did before. Fixed some errors and added some links.

voodoorai2000 commented 10 years ago

Awesome!

Let's get some tests in there for the new fields ;)

hcarreras commented 10 years ago

I know it is friday, but I decided to code some specs just before go to a party :) So here they are.

But I have an important question. This specs are "manually" filling the fields and then checking that everything is correct. It is better this approach or it would be better some update method and then check that everything is showing fine, or even just check that they have the attributes correct?

I hope I explained myself clearly enough, if not, just tell me!

Cheers! Harí

voodoorai2000 commented 10 years ago

Yes, I think manually filling the fields, clicking submit, and checking to see that the values are on the page, is the perfect approach ;)