Category Archives: Dogfood

Rails Time Comparisons: Devil, Details, etc.

Have you ever seen an error in your code where two timestamps that are the same fail a comparison test? [sourcecode] 1) SomeController#update sets updated_at to current time Failure/Error: something.reload.updated_at.should == Time.now expected: 2011-08-04 15:09:26 +0000, got: Thu, 04 Aug 2011 15:09:26 UTC +00:00 (using ==) Diff: @@ -1,2 +1,2 @@ -2011-08-04 15:09:26 +0000 +Thu, […]

7 Comments

Tddium Isolation

We’ve been busy adding features to Tddium in the last few days, including MySQL 5.1, Sqlite3, and Spork. Redis and MongoDB are implemented and about to be released. More importantly, we’re now using Tddium internally on a regular basis and I have to say it is a big step forward. Why? Well it certainly is […]

Leave a comment

Tddium-on-Tddium

Tddium is all grown up! ¬†At least, a little more grown up than it was last week. Yesterday, we were able to “eat our own dogfood” and run our complete test suite in our hosted environment. That means we now support: Rails 2 and Rails 3 Ruby 1.8.7 and Ruby 1.9.2 RSpec Cucumber Test::Unit/shoulda Safe […]

Leave a comment