2011-04-14 00:21:23 +00:00
|
|
|
describe('console.log', function() {
|
|
|
|
it('should succeed, but with a console.log', function() {
|
|
|
|
console.log("hello");
|
|
|
|
expect(success).toEqual(1);
|
|
|
|
});
|
2011-11-18 12:51:54 +00:00
|
|
|
|
|
|
|
it("wont eat my precious jqueries", function() {
|
|
|
|
var d = $('<div><div id="inner">b</div></div>');
|
|
|
|
expect(d.find('#inner').length).toBe(1);
|
|
|
|
console.log(d.find('#inner'));
|
|
|
|
expect(d.find('#inner').length).toBe(1);
|
|
|
|
});
|
2011-04-14 00:21:23 +00:00
|
|
|
});
|
|
|
|
|