thanks. tried both with same result. btw documentation says to use eql 5.should eql(5) http://rspec.rubyforge.org/rspec/1.1.9/classes/Spec/Matchers.html#M000429 On Sep 5, 7:08 pm, Nick <n... at deadorange.com> wrote: > Try "eq" or "equal".