Re: [rspec-users] Make classes in a module available to examples

2008-09-05 Thread Ashley Moran
On 5 Sep 2008, at 15:58, Pat Maddox wrote: module Bank describe "A new account" do ... end end The RSpec codebase uses the second approach, which I personally prefer. Aha, that's good enough for me Right now I'm fully qualifying everything, which is too verbose for my liking Thanks

Re: [rspec-users] Make classes in a module available to examples

2008-09-05 Thread Pat Maddox
On Fri, Sep 5, 2008 at 6:25 AM, Ashley Moran <[EMAIL PROTECTED]> wrote: > Hi > > Sorry if this is documented somewhere, I can't find it on rspec.info or > Google. > > Say I have this code (simple example based no the RSpec site): > module Bank >class Account > def balance >0 >