[rspec-users] Best way to spec nested modules?
stuart.hungerford at anu.edu.au
Mon Jan 26 15:59:19 EST 2009
On 27/01/2009, at 4:06 AM, rspec-users-request at rubyforge.org wrote:
> Put the describe in the module, and take advantage of Ruby's lookup
> module Foo
> module Baz
> describe Class1 do
Thanks for that beautifully simple suggestion! Thanks also to
for the reminder about mocks and stubs. The overly concise
I used in my example are for example purposes only, the real ones
readable and subject-specific.
ANU Supercomputer Facility
More information about the rspec-users