24 Apr '12, 11pm

What's that? Something about me working on a book about RSpec?

Keep it simple: If you don’t get request specs right away, don’t worry about it. They require some additional setup and thinking to not just work, but actually test what you need to test. Don’t stop testing your models and controllers, though—building skills at that level will help you grasp more complicated specs sooner rather than later. Make time for testing: Yes, tests are extra code for you to maintain; that extra care takes time. Plan accordingly, as a feature you may have been able to complete in an hour or two before might take a whole day now. This especially applies when you’re getting started with testing. However, in the long run you’ll recover that time by working from a more trustworthy code base. Don’t revert to old habits! It’s easy to get stuck on a failing test that shouldn’t be failing. If you can’t get a test to pass, make a note to come back to it—and ...

Full article: http://everydayrails.com/2012/04/24/testing-series-rspec-...

Tweets

@m0ok the rails guide for testing is a great in...

guides.rubyonrails.org 24 Apr '12, 11am

Testing support was woven into the Rails fabric from the beginning. It wasn’t an “oh! let’s bolt on support for running te...

If you practice TDD, what's the first test you ...

smartic.us 24 Apr '12, 9pm

Yesterday, I was having a discussion with a young, bright, aspiring developer about code, and the subject of tests came up...

This Week in Ruby: Rails 3.2, Rails Tutorial, a...

rubyinside.com 20 Apr '12, 4am

It's the latest Web-based syndication of Ruby Weekly , the weekly Ruby and Rails e-mail newsletter (which just tipped 11K ...

A Lesson Learned: PGA's John Morton explains what you can take away from Ben Curtis' victory in Texas #pga #golf

A Lesson Learned: PGA's John Morton explains wh...

pga.com 23 Apr '12, 2am

A Lesson Learned: "Consistency: The Road to a Better Game" Problem Area: Consistency Here's what I know about the Valero T...

Are you a workaholic? Psychologists create new ...

todayonline.com 25 Apr '12, 2pm

LONDON - A new test devised by psychologists could now determine once and for all whether you are officially addicted to w...

Backorders At Your Request!

lilypirates.livejournal.com 03 May '12, 7pm

YOU ASKED FOR IT! Backorders now available for: THE ANTOINETTE DRESS IN SHADOW GREEN S / M / L THE ANTOINETTE DRESS IN CLA...

Rate Your Windows! (And Share Your Lessons Learned): Windows are a big investment, and while they may look grea...

Rate Your Windows! (And Share Your Lessons Lear...

buildinggreen.com 24 Apr '12, 5pm

Windows are a big investment, and while they may look great on paper, how well do they hold up once installed? Do they mee...

Rails for API applications (rails-api) released

rubyflow.com 21 Apr '12, 12am

Rails for API applications (rails-api) released Posted by wyeworks on April 21, 2012 — 0 comments Rails for API applicatio...

NLB Book Exchange 2012 Give A Book, Get A Book: Got some old or used #books lying around, why…

NLB Book Exchange 2012 Give A Book, Get A Book:...

greatdeals.com.sg 26 Apr '12, 8am

Got some old or used books lying around, why not exchange for books that you want to read with NLB? Until tomorrow 27th Ap...

The Real Impact of the Google SmartPhone Crawle...

seomoz.org 24 Apr '12, 5am

Not everyone realizes it, but Google has been serving different search results to mobile phones than desktop computers for...

Two for one: jqtree-rails and jquery-cookie-rails

rubyflow.com 21 Apr '12, 9am

Two for one: jqtree-rails and jquery-cookie-rails Posted by c00lryguy on April 21, 2012 — 1 comment I just created jqtree-...