blade-qunit_adapter 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/index.coffee +3 -3
- data/lib/blade/qunit_adapter/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aeb54570c32c3f3ed8b137b93209058fb7aae9cb
|
4
|
+
data.tar.gz: cc7cad647a4d9c2ef474db106ba946dd6517ce2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d2874c932fbc11fa8fc76dfa122bdb49e8fbc14c8467354d69526712e03f5dae68c2c9de9bd33052d3093584bd1266cb6c67b991cdaa2898469452cec8c54c1
|
7
|
+
data.tar.gz: 1d0e2e2fc0f68bd42c77600c52568eab0db8cfa2016bb4af8b998068749fb4e79de9c60b1cf3d94d9a24d6b44bb8d21bcb1bb36860f1e2cc4d782e335ceff8ef
|
data/assets/index.coffee
CHANGED
@@ -4,7 +4,7 @@ QUnit.config.hidepassed = true
|
|
4
4
|
QUnit.config.testTimeout = 5000
|
5
5
|
|
6
6
|
QUnit.begin (suiteDetails) ->
|
7
|
-
Blade.
|
7
|
+
Blade.suiteDidBegin(suiteDetails)
|
8
8
|
|
9
9
|
failedAssertions = []
|
10
10
|
|
@@ -19,11 +19,11 @@ QUnit.testDone (testDetails) ->
|
|
19
19
|
name = "#{testDetails.module}: #{testDetails.name}"
|
20
20
|
pass = testDetails.failed is 0
|
21
21
|
message = formatAssertions(failedAssertions)
|
22
|
-
Blade.
|
22
|
+
Blade.testDidEnd({name, pass, message})
|
23
23
|
|
24
24
|
QUnit.done (suiteDetails) ->
|
25
25
|
window.global_test_results = suiteDetails
|
26
|
-
Blade.
|
26
|
+
Blade.suiteDidEnd(suiteDetails)
|
27
27
|
|
28
28
|
formatAssertions = (assertions = []) ->
|
29
29
|
if assertions.length
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blade-qunit_adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javan Makhmali
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|