Monthly Archive: October 2009

Oct 30

Postgres, Rails & a Snow Leopard walk into a bar

And the bartender says “Get out, you guys are incompatible!” The Internet whips out this tutorial for getting Postgres and the Postgres Rails Gem to run under Snow Leopard, and the bartender serves them all Rum and Cokes.

Oct 21

RSpec have_text vs include_text

The tutorial docs I’ve looked at don’t mention this, but there is a handy new test utility for your response objects. response.should include_text(“blah blah”) which tests to see if “blah blah” is anywhere on the page. This compares favorably to response.should have_text(“blah blah”) which tests if the entire text of the page == “blah blah”