Berkeley169 / fight_Impunity_Haiti

Berkeley CS 169 project working with a non-profit group to fight impunity in Haiti.
1 stars 0 forks source link

Add notes fields to all of the documents #36

Closed natesholland closed 11 years ago

natesholland commented 11 years ago

We need to have a notes field in the documents for the editors to be able to write notes for each other and the managers and so on.

nherson commented 11 years ago

Spent a ton of time getting a feel for Cuke tests but writing some trivial ones for this issue. Basically started a model_steps.rb step definitions file that creates models with some attributes via FactoryGirl. Nice for easy addition to "Given" clauses.

Also, if you check out the '/features/support/paths.env' file in my "notes" branch, theres a nice example of doing a lookup on a FactoryGirl created model instance and generating a route to CRUD it based on the name you assigned it upon generation in the Cucumber step.

It's late and that made no sense, probably. Just go look it over.

natesholland commented 11 years ago

@nicholasherson you're ready to sign off on this one yes?