diff --git a/example/example.html b/example/example.html index 000eb99..7f28ba6 100644 --- a/example/example.html +++ b/example/example.html @@ -1,24 +1,49 @@ + "http://www.w3.org/TR/html4/loose.dtd"> - Jasmine Example - - - + Jasmine Test Runner - -

- Running Jasmine Example Specs -

-
+ + + + + + + + + + + diff --git a/example/example.js b/example/example.js index 4c03804..494539e 100644 --- a/example/example.js +++ b/example/example.js @@ -1,7 +1,11 @@ -describe('one suite description', function () { - it('should be a test', function() { - runs(function () { +describe('ExampleSuite', function () { + it('should have a passing test', function() { expect(true).toEqual(true); - }); + }); + + describe('Nested Describe', function () { + it('should also have a passing test', function () { + expect(true).toEqual(true); + }); }); }); \ No newline at end of file