On Sun, Mar 30, 2008 at 1:57 PM, David Beckwith <[EMAIL PROTECTED]> wrote: > Well, it turns out I was right..... it was a newbie error. > > As soon as I wrote the test that you suggested: > > describe Hawlee, "make sure the == works" do > it "Two Hawlees should be the same if their uri is the same." do > @hawlee1 = Hawlee.new( URI.parse("http://www.google.com"), nil, 0) > @hawlee2 = Hawlee.new( URI.parse("http://www.google.com"), "stuff", 1) > @hawlee1.should ==(@hawlee2) > end > end > > .....I found my error. I didn't write my Hawlee#== function > correctly. I thought I had tested it, but I didn't.
Did you fix that and get it all working? > > So, we were both right: I'm a newbie, and Chelim-baby is the man. > > Thanks! > > David :) > > > > > On Sun, Mar 30, 2008 at 11:17 AM, David Chelimsky <[EMAIL PROTECTED]> wrote: > > On Sun, Mar 30, 2008 at 1:13 PM, David Beckwith <[EMAIL PROTECTED]> wrote: > > > Here is the test. > > > > I just meant the test for this: "And I tested to make sure this == > > operator works as expected." > > > > That's the one I want to see. > > > > > > > _______________________________________________ > > rspec-users mailing list > > rspec-users@rubyforge.org > > http://rubyforge.org/mailman/listinfo/rspec-users > > > > > > -- > SMS/Text: +63 905 220 2207 > Skype: dbit_solutions > > > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users