New in jShoulda 1.0.1: configurable connector.
While working with jShoulda I found myself wanting to write tests with
Spanish names. The 'should' connector makes them look quite funny so,
here is a new feature. Welcome `should.connector`.
should.connector = 'debería'
context("Un contexto", {},
should("tener un test", function() {
this.assert('Moooola');
})
)();
In addition... you can always use an empty connector if you prefer
using assertive testnames. I've found quite convenient to alias
`should` as `does` to avoid nonsensic code.
should.connector = '';
var does = should;
context("A context", {},
does("has a test", function() {
this.assert('Cool!');
})
)();
Have a nice day.
--
Choan