I’m really enjoying working on this exercise. It will be interesting to see how everyone approaches the testing aspect.
However, I’ve ran into a few minor issues with it:
- The
Gemfile
specifies Ruby 2.1.0 but there is no corresponding.ruby-version
file - I had to add
host: localhost
the the database.yml configuration, otherwisebin/setup
was failing with a socket error. This may be a problem with my Postgres setup, but since Rails itself has this line by default, I would think it should be present? - The controller spec provided is verifying the
assigns
in actions which perform redirects. Isn’t this redundant, since assigns don’t carry over between redirects?