guard-jasmine 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +8 -0
- data/lib/guard/jasmine/phantomjs/src/reporter.coffee +2 -2
- data/lib/guard/jasmine/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -18,6 +18,8 @@ various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG.
|
|
18
18
|
* Runs the standard Jasmine test runner, so you can use [Jasminerice][] for integrating [Jasmine][] into the
|
19
19
|
[Rails asset pipeline][] and write your specs in [CoffeeScript][].
|
20
20
|
|
21
|
+
* Custom console logger implementation for pretty printing JavaScript objects and DOM elements.
|
22
|
+
|
21
23
|
* Can be used to run [Jasmine-species](http://rudylattae.github.com/jasmine-species/) acceptance tests provided by
|
22
24
|
[Jasmine Stories](https://github.com/DominikGuzei/jasmine-stories).
|
23
25
|
|
@@ -25,6 +27,12 @@ various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG.
|
|
25
27
|
|
26
28
|
* Runs on Mac OS X, Linux and Windows.
|
27
29
|
|
30
|
+
## ScreenCast
|
31
|
+
|
32
|
+
If you are a [RailsCast Pro](http://railscasts.com/pro) subscriber, I recommend to watch
|
33
|
+
[#261 Testing JavaScript with Jasmine (revised)](http://railscasts.com/episodes/261-testing-javascript-with-jasmine-revised)
|
34
|
+
for an introduction to Jasmine, Jasminerice and Guard::Jasmine.
|
35
|
+
|
28
36
|
## Installation
|
29
37
|
|
30
38
|
### Guard and Guard::Jasmine
|
@@ -32,7 +32,7 @@ class ConsoleReporter
|
|
32
32
|
unless spec.results().skipped
|
33
33
|
specResult = {
|
34
34
|
id: spec.id
|
35
|
-
description: spec.description
|
35
|
+
description: '' + spec.description
|
36
36
|
passed: spec.results().failedCount is 0
|
37
37
|
}
|
38
38
|
|
@@ -54,7 +54,7 @@ class ConsoleReporter
|
|
54
54
|
suiteResult = {
|
55
55
|
id: suite.id
|
56
56
|
parent: suite.parentSuite?.id
|
57
|
-
description: suite.description
|
57
|
+
description: '' + suite.description
|
58
58
|
passed: suite.results().failedCount is 0
|
59
59
|
specs: @currentSpecs[suite.id] || []
|
60
60
|
suites: []
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-jasmine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-07-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: guard
|
@@ -138,7 +138,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
138
138
|
version: '0'
|
139
139
|
segments:
|
140
140
|
- 0
|
141
|
-
hash:
|
141
|
+
hash: 249333982593955471
|
142
142
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
143
143
|
none: false
|
144
144
|
requirements:
|