Permalink
Browse files

Enables all specs.

  • Loading branch information...
1 parent dded52f commit 3322f75caa0dc545c4300c62b1452f8c8733da0b @torgeir torgeir committed Jun 29, 2012
Showing with 8 additions and 8 deletions.
  1. +5 −5 jasmine_spec.io
  2. +3 −3 matcher_spec.io
View
@@ -1,4 +1,4 @@
-xdescribe("Suites",
+describe("Suites",
it("Should be possible to run a suite and detect failure",
failingSuite := describe("A failing suite",
it("True is false",
@@ -24,7 +24,7 @@ xdescribe("Suites",
)
)
-xdescribe("Specs",
+describe("Specs",
it("Should be possible to run a spec and detect failure",
failingSpec := Spec clone
failingSpec test := method(
@@ -42,8 +42,8 @@ xdescribe("Specs",
)
)
-xdescribe("Disabling of suites and specs",
- it("Should be possible to disable a suite by using xdescribe",
+describe("Disabling of suites and specs",
+ it("Should be possible to disable a suite by using describe",
noSuite := xdescribe("A disabled")
expect(noSuite) toBeNil()
),
@@ -58,4 +58,4 @@ xdescribe("Disabling of suites and specs",
Jasmine suites remove(suiteWithDisabledSpec)
expect(numberOfSpecs) toBe(0)
)
-)
+)
View
@@ -10,7 +10,7 @@ describe("A custom matcher",
)
)
-xdescribe("Matcher tests for toEqual",
+describe("Matcher tests for toEqual",
it("should expect true toEqual true to be true",
matcher := expect(true) toEqual(true)
expect(matcher success) toBe(true)
@@ -47,7 +47,7 @@ xdescribe("Matcher tests for toEqual",
)
)
-xdescribe("toBeNil Matcher",
+describe("toBeNil Matcher",
it("should expect nil toBeNil",
result := expect(nil) toBeNil()
@@ -60,7 +60,7 @@ xdescribe("toBeNil Matcher",
)
)
-xdescribe("toBe Matcher for strings",
+describe("toBe Matcher for strings",
it("can check that two strings are the same",
expect("Jasmine.Io") toBe("Jasmine.Io")
),

0 comments on commit 3322f75

Please sign in to comment.