Closed stalniy closed 8 years ago
in order to avoid naming collisions it's better add some prefix to each defined global variable, something like $
. So,
subject(function() {
return new Object()
});
it('is accessible via $subject', function() {
expect($subject).to.be.an('object');
});
As an developer I want to use global getters So that, I can write cleaner code