giv2giv/giv2giv-rails — pull request #95 by btaitelb (2013-12-14 07:30:53+00:00)
Title: fixes failing rspec tests and adds factory_girl

- retrofitted tests to existing functionality, which is likely broken in a few places (e.g. api calls returning json of the form `{endowment: {endowment: {name: "some name", ...}}}` )
- switched some tests to pending that need to be rewritten (e.g. the donate api call was replaced with a one_time_donation action that behaves differently)