Quoting Patrick J. Collins <patr...@collinatorstudios.com>:
> describe Bar do
>   it_behaves_like "a nameable thingie", Bar.new(nil, nil)
> end
> 
> Which I don't like, mainly because Foo & Bar's initialize methods require
> arguments, and I am having to do (nil, nil) which seems very uncool...

Having trouble following your example. Why do you have to pass
Bar.new(nil, nil) for this test? 

-- 
Cynthia N. Kiser
c...@ugcs.caltech.edu
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to