From 00f5f1722c4b6a052db3530c461f62c5e1bad924 Mon Sep 17 00:00:00 2001 From: pivotal Date: Wed, 3 Dec 2008 17:11:05 -0800 Subject: [PATCH] dwf/rva: Added examples, fixed bug with initializing currentSuite with a mock. --- example/example.html | 24 ++++++++ example/example.js | 7 +++ jasmine.iws | 96 +++++++++++++++++++++++++------- test/test.css => lib/jasmine.css | 2 +- lib/jasmine.js | 2 +- test/bootstrap.html | 2 +- test/bootstrap.js | 4 +- 7 files changed, 113 insertions(+), 24 deletions(-) create mode 100644 example/example.html create mode 100644 example/example.js rename test/test.css => lib/jasmine.css (86%) mode change 100755 => 100644 diff --git a/example/example.html b/example/example.html new file mode 100644 index 0000000..010a61f --- /dev/null +++ b/example/example.html @@ -0,0 +1,24 @@ + + + + Jasmine Tests + + + + + +

+ Running Jasmine Example Specs +

+
+ + + + + diff --git a/example/example.js b/example/example.js new file mode 100644 index 0000000..74fb27f --- /dev/null +++ b/example/example.js @@ -0,0 +1,7 @@ +describe('one suite description', function () { + it('should be a test', function() { + runs(function () { + this.expects_that(true).should_equal(true); + }); + }); + }); \ No newline at end of file diff --git a/jasmine.iws b/jasmine.iws index 7f2f7c0..361b61a 100644 --- a/jasmine.iws +++ b/jasmine.iws @@ -80,7 +80,7 @@ - + @@ -89,19 +89,10 @@ - + - - - - - - - - - - + @@ -110,7 +101,37 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -224,6 +245,24 @@