Quoting Patrick J. Collins <[email protected]>: > 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 [email protected] _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
