Displaying 1 result from an estimated 1 matches for "item_001".
2007 Nov 21
7
describe scope
...9;'RSpec describe scope'' didn''t yield much, so apologies if
this question has been dealt with.
It seem well known that a ruby class is ''visible'' between describes,
and if this is a problem then you should use some counter as prefix or
suffix:
''class Item_001; ... end''
Is there any work underway, or sheduled release where classes will
exist only in the scope they are defined?
Writing spec''s for Og is where this becomes an issue because Og will
grab _all_ manageble objects it can ''see''... all sorts of PITA can
arise....