Articles tagged with  rspec

Yes, You Should Write Controller Tests!

February 02, 2012 by Piotr Solnica

It really surprises me that there are people arguing that writing controller tests doesn’t make sense. Probably the most common argument is that actions are covered in acceptence tests along with checking if views are properly rendered. Right? Right...

Custom RSpec-2 Matchers

January 14, 2011 by Piotr Solnica

RSpec is one of my favorite tools. I have literally fallen in love with this fantastic BDD library, especially with its second version. While using RSpec I realized it teaches me how to write tests. Yes, exactly - learning RSpec DSL, its syntax and...