minitest-reporters 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a0b8d2699ca76d4741c7708a96c2238f9f6600d0
4
- data.tar.gz: 21d392f4e2b743054cb317bbecd05e834a4bf45b
3
+ metadata.gz: c5b61b265a409a4a0c2869a91d36ad9816f4240c
4
+ data.tar.gz: 92092cf854a5e58aaa6139f422c46614ae4027ce
5
5
  SHA512:
6
- metadata.gz: 7647547e8bad6410e411d23d75afed28a73ba37ace4f3d8c9a79c47aab6eacc8a911c38e53a6546528ef7c8f035c4dc3e1b680f470d23c050a7870195fedfbf8
7
- data.tar.gz: 696effc446234b1fcea692291d11c3f554d63ff74308ba81559c70b0dba88e58d6f629422fd7ebfe43a7f6629979b6385f6055b07a4e404b85419b0fcf62bc1c
6
+ metadata.gz: 9b50a9509cbcfa54235e68b1c33b462c2fca2357590a87088165fd02c5017b1d7180fa1b261d354ecc9fb8ab2522c171de21dfbb8feb3430706bf63f21f9a06b
7
+ data.tar.gz: f50c070ba8392915cb2b830f95d942a3aeb80821fbc4f862f6f9a9c7fc5087cf3eacf3d2f69bd0d8dec06fb59dda5b931ba621ec6b6622e69053148c52966d17
@@ -62,7 +62,9 @@ else
62
62
 
63
63
  def record(test)
64
64
  super
65
- unless test.passed?
65
+ if test.passed?
66
+ log(@message_factory.create_test_finished(test.name, get_time_in_ms(test.time)))
67
+ else
66
68
  with_result(test) do |exception_msg, backtrace|
67
69
  if test.skipped?
68
70
  log(@message_factory.create_test_ignored(test.name, exception_msg, backtrace))
@@ -92,11 +94,6 @@ else
92
94
  log(@message_factory.create_test_started(test.name, minitest_test_location(fqn)))
93
95
  end
94
96
 
95
- def after_test(test)
96
- super
97
- log(@message_factory.create_test_finished(test.name, get_time_in_ms(test.time)))
98
- end
99
-
100
97
  #########
101
98
  def log(msg)
102
99
  output.flush
@@ -1,5 +1,5 @@
1
1
  module Minitest
2
2
  module Reporters
3
- VERSION = '1.0.7'
3
+ VERSION = '1.0.8'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-reporters
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Kern
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-23 00:00:00.000000000 Z
11
+ date: 2014-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest