diff --git a/example/example.html b/example/example.html
new file mode 100644
index 00000000..010a61f6
--- /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 00000000..74fb27f2
--- /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 7f2f7c08..361b61ac 100644
--- a/jasmine.iws
+++ b/jasmine.iws
@@ -80,7 +80,7 @@
-
+
@@ -89,19 +89,10 @@
-
+
-
-
-
-
-
-
-
-
-
-
+
@@ -110,7 +101,37 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -224,6 +245,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -379,7 +418,7 @@
-
+
@@ -461,7 +500,7 @@
-
+
@@ -469,27 +508,44 @@
-
+
-
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/test.css b/lib/jasmine.css
old mode 100755
new mode 100644
similarity index 86%
rename from test/test.css
rename to lib/jasmine.css
index 421dcc67..d9d28ed1
--- a/test/test.css
+++ b/lib/jasmine.css
@@ -15,7 +15,7 @@ p {
}
p.fail {
- background: url(../images/exclamation.png) no-repeat;
+ background: url( ../images/exclamation.png ) no-repeat;
color: red;
}
diff --git a/lib/jasmine.js b/lib/jasmine.js
index 564e2758..798e253f 100755
--- a/lib/jasmine.js
+++ b/lib/jasmine.js
@@ -277,7 +277,7 @@ var Runner = function () {
}
var Jasmine = Runner();
-var currentSuite = describe('default current suite', function() {});
+var currentSuite;
var currentSpec;
/*
diff --git a/test/bootstrap.html b/test/bootstrap.html
index 5175aec0..d3449487 100755
--- a/test/bootstrap.html
+++ b/test/bootstrap.html
@@ -5,7 +5,7 @@
Jasmine Tests
-
+
diff --git a/test/bootstrap.js b/test/bootstrap.js
index fc573c56..d0248daa 100755
--- a/test/bootstrap.js
+++ b/test/bootstrap.js
@@ -91,6 +91,8 @@ var testMatchersReporting = function () {
}
var testSpecs = function () {
+ var currentSuite = describe('default current suite', function() {});
+
var spec = it('new spec');
reporter.test((spec.description == 'new spec'),
"Spec did not have a description");
@@ -508,7 +510,7 @@ var testRunner = function() {
it('should be a test');
});
reporter.test((runner.suites.length === 2),
- "Runner expected two suites");
+ "Runner expected two suites, but got " + runner.suites.length);
runner = Runner();
describe('one suite description', function () {