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
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
>
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
end
end
end
describe "A new account" do
# what goes here?
befor