Slide 26
Slide 26 text
describe("Math", function(){
var subject, result;
beforeEach(function(){
subject = new Math();
});
describe("#add", function(){
beforeEach(function(){
result = subject.add(4,5);
});
it("adds", function(){
expect(result).toEqual(9);
});
});
});