From c420c78517530539f42e32f48fb3481d97593171 Mon Sep 17 00:00:00 2001 From: ragaskar Date: Sat, 20 Jun 2009 20:01:03 -0700 Subject: [PATCH] Updated example.html to use TrivialReporter --- example/example.html | 55 ++++++++++++++++++++++++++++++++------------ example/example.js | 12 ++++++---- 2 files changed, 48 insertions(+), 19 deletions(-) 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