Re: [rspec-users] New bie question: Why use assert_equal when there are comparison operators in Rspec?

2010-08-06 Thread Ashley Moran
On Aug 06, 2010, at 3:52 am, ct9a wrote: Reading up on the Rspec's main site, the main example in http://rspec.rubyforge.org/rspec/1.3.0/ does not show any use of assert_equals. Rather it just uses the == comparison operators. Here's an extract: assert_equals is part of Test::Unit, not

[rspec-users] New bie question: Why use assert_equal when there are comparison operators in Rspec?

2010-08-05 Thread ct9a
hi guys, I'm reading up on Rspec, Mocha and some related material to put BDD in my new rails app. I have also checked out Ryan Bates' railscasts on rspec (that's how I got to know about Mocha). Reading up on the Rspec's main site, the main example in http://rspec.rubyforge.org/rspec/1.3.0/