minitest-reporters 1.1.14 → 1.1.15
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '086685dd269c97e9f683c7b6a59b0b685fc8d134'
|
4
|
+
data.tar.gz: 746623dbf9f18ab5e7380ba41dde18a5f181c917
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc879a0a6e929fea5ed95d0d0f5bb55dc9a1efe93be224159b29033165a3281ea2c797398031db025681ac45831ea5422e1b49195490a5a77d4ad537cb3d6add
|
7
|
+
data.tar.gz: 68f190565e96a32b8ca7794891941ff540eb7819d4de8b42605474dda7a719fc6a320f41e82784a6bf69f5d6be6a58ed4af09623aae2d9a10922c0b0cf8999a6
|
data/CHANGELOG.md
ADDED
@@ -10,5 +10,16 @@ module MinitestReportersTest
|
|
10
10
|
dr.send :all_reporters
|
11
11
|
assert_equal io_handle, reporter.io
|
12
12
|
end
|
13
|
+
|
14
|
+
def test_casting_to_string_triggers_report
|
15
|
+
reporter = Minitest::Reporters::ProgressReporter.new
|
16
|
+
io_handle = StringIO.new
|
17
|
+
dr = Minitest::Reporters::DelegateReporter.new([ reporter ], :io => io_handle)
|
18
|
+
|
19
|
+
dr.to_s
|
20
|
+
|
21
|
+
io_handle.rewind
|
22
|
+
assert_match(/\d+ tests, \d+ assertions/, io_handle.read)
|
23
|
+
end
|
13
24
|
end
|
14
25
|
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.1.
|
4
|
+
version: 1.1.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kern
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -105,6 +105,7 @@ files:
|
|
105
105
|
- ".ruby-gemset"
|
106
106
|
- ".travis.yml"
|
107
107
|
- ".yardopts"
|
108
|
+
- CHANGELOG.md
|
108
109
|
- Gemfile
|
109
110
|
- LICENSE
|
110
111
|
- README.md
|