|
This post originated from an RSS feed registered with Ruby Buzz
by Obie Fernandez.
|
Original Post: The Most Superfluous Comment Ever
Feed Title: Obie On Rails (Has It Been 9 Years Already?)
Feed URL: http://jroller.com/obie/feed/entries/rss
Feed Description: Obie Fernandez talks about life as a technologist, mostly as ramblings about software development and consulting. Nowadays it's pretty much all about Ruby and Ruby on Rails.
|
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Obie Fernandez
Latest Posts From Obie On Rails (Has It Been 9 Years Already?)
|
|
From the bottom of an automated acceptance tests in my current project.
# check the results
results.amount.should.be 360.27
RSpec will rock your world. If you've been hesitating to give it a try because it is such a radical departure from the xunit style, try just using its expectations features to give your tests a much more readable DSLish flair. The best part is watching how happy your non-technical stakeholders get because they understand the code you're writing for them.
Read: The Most Superfluous Comment Ever