minitest-colorin 0.1.3 → 0.1.4

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: 2d050888063e7f336527935d23eca19bae7ed10d
4
- data.tar.gz: 9f28268421da917d817e005fb1a4ddfd2732c989
3
+ metadata.gz: c73f55b27c4a5d29c69a624628cb35310d74c3bc
4
+ data.tar.gz: 3db7d0a74d4a56547959561522c95a573fc84229
5
5
  SHA512:
6
- metadata.gz: 805b2fe302a9286977a71da7da52c0e24395aa47b4d066a841e8fe172d5ab84004f94b6831a1c4c5308fa932fc26e028a7601ad0ee0e1599c343dfec6dd7be4a
7
- data.tar.gz: ef5ab95f6c5b83a099c25dd6830e04850d14c4ea1ddff80a2de9f9a343f15e1da623ebd207bcb226cf6def14e152b8fdce3c5f52c375b08b1880be0fb77fb022
6
+ metadata.gz: a025f071819adc0d3f303007456f9dd33b52dcc48521cd3b1173d45a812e11a60c5e1026dafc35c1400c4b382a72fc9147eb0a881af0ea3b134e5f464752ce9d
7
+ data.tar.gz: eab9e3ad0b91f2f08d430fd998ee873de687119937a9efe3c84af1e2f2c19c6b96c64906dd238821fed0a547177fd467c5c6c4bbb94f906788ef8f3e07ecafe6
@@ -1,5 +1,5 @@
1
1
  module Minitest
2
2
  class Colorin
3
- VERSION = '0.1.3'
3
+ VERSION = '0.1.4'
4
4
  end
5
5
  end
@@ -56,11 +56,11 @@ module Minitest
56
56
  end
57
57
 
58
58
  def record(result)
59
- @results << result
59
+ results << result
60
60
 
61
61
  test_id = TestID.new result
62
62
 
63
- if test_id.context != @previous_context
63
+ if test_id.context != previous_context
64
64
  io.puts
65
65
  io.puts ::Colorin.white(test_id.context).bold
66
66
  @previous_context = test_id.context
@@ -80,7 +80,7 @@ module Minitest
80
80
  end
81
81
 
82
82
  def passed?
83
- results.all? { |r| r.failures.empty? }
83
+ failures.empty? && errors.empty?
84
84
  end
85
85
 
86
86
  def report
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-colorin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Naiman
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-31 00:00:00.000000000 Z
11
+ date: 2016-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest