This is not developer-friendly:
response.should be_success
Unless you have fully internalized RSpec, it is nigh impossible to know where the space, underscore, and period go. The goal is to come up with code that looks like sentences but the end result is to come up with something a non-developer can read but that developers shouldn’t have to write.
March 23, 2009 at 9:50 pm
“something a non-developer can read but that developers shouldn’t have to write.”
Someone reinvented COBOL?
March 24, 2009 at 1:54 pm
I never understood the appeal of RSpec either. For starters, how many non-coders need to look at your test cases in the first place? My guess is few to none.