26 Jul '12, 12am

@pjimmy

If we run the specs now we’ll have two passing specs, so it looks like our code works as expected. If we were doing test-driven development we’d start with a failing spec and then write code to make it pass and this is one of the advantages of test-driven development as it ensures that your tests are working. In our application we’ve jumped straight to a passing test as the implementation is already in place. When adding tests for existing code it can sometimes be worth deliberately breaking something in the code to ensure that the test then fails and then fixing it again.

Full article: http://asciicasts.com/episodes/257-request-specs-and-capy...

Tweets

“#257 Request Specs and Capybara - RailsCasts”

railscasts.com 12 Jul '12, 12pm

$ rake spec:requests (in /Users/eifion/code/tasklist) /Users/eifion/.rvm/rubies/ruby-1.9.2-p0/bin/ruby -S bundle exec rspe...

#cloud Ethernet group crafting cloud, SDN specs - EE Times

#cloud Ethernet group crafting cloud, SDN specs...

eetimes.com 26 Jul '12, 8pm

has started technical work on standards to support cloud computing and software-defined networking over carrier-grade Ethe...

Backorders At Your Request!

lilypirates.livejournal.com 26 Jul '12, 4pm

YOU ASKED FOR IT! Backorders now available for: THE HARRODS BLAZER IN CLASSIC BLACK SIZE S/M/L THE HARRODS BLAZER IN PRIST...

Ruby5 Episode #291: Sublime Text 2, Implicit Ge...

ruby5.envylabs.com 24 Jul '12, 3pm

June 22nd, 2012 Three great blog entries about grooming your development environment, The Role, Hamster, and more with co-...

‘Bones’ to Air Episode about Keeping Exotic Ani...

ecorazzi.com 26 Jul '12, 2pm

As a keeper of a decent sized collection of ball pythons and boa constrictors and a fan of Bones, I really hope they don’t...