[rspec-users] Make classes in a module available to examples
Ashley Moran
ashley.moran at patchspace.co.uk
Fri Sep 5 11:43:11 EDT 2008
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 Pat
Ashley
--
http://www.patchspace.co.uk/
http://aviewfromafar.net/
More information about the rspec-users
mailing list