minitest-reporters 0.14.0 → 0.14.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/minitest/reporters/default_reporter.rb +1 -1
- data/lib/minitest/reporters/progress_reporter.rb +1 -1
- data/lib/minitest/reporters/ruby_mate_reporter.rb +1 -1
- data/lib/minitest/reporters/rubymine_reporter.rb +1 -1
- data/lib/minitest/reporters/spec_reporter.rb +1 -1
- data/lib/minitest/reporters/version.rb +1 -1
- metadata +4 -4
@@ -105,7 +105,7 @@ module MiniTest
|
|
105
105
|
end
|
106
106
|
|
107
107
|
def print_test_with_time(suite, test)
|
108
|
-
total_time = Time.now - runner.test_start_time
|
108
|
+
total_time = Time.now - (runner.test_start_time || Time.now)
|
109
109
|
print(" %s#%s (%.2fs)%s" % [suite, test, total_time, clr])
|
110
110
|
end
|
111
111
|
|
@@ -133,7 +133,7 @@ else
|
|
133
133
|
end
|
134
134
|
|
135
135
|
def test_finished(test, test_runner)
|
136
|
-
duration_ms = get_current_time_in_ms() - get_time_in_ms(runner.test_start_time)
|
136
|
+
duration_ms = get_current_time_in_ms() - get_time_in_ms(runner.test_start_time || Time.now)
|
137
137
|
|
138
138
|
begin
|
139
139
|
if block_given?
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-reporters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.
|
4
|
+
version: 0.14.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-
|
12
|
+
date: 2012-12-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|
@@ -163,7 +163,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
163
163
|
version: '0'
|
164
164
|
segments:
|
165
165
|
- 0
|
166
|
-
hash: -
|
166
|
+
hash: -4561366707573626439
|
167
167
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
168
168
|
none: false
|
169
169
|
requirements:
|
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
172
|
version: '0'
|
173
173
|
segments:
|
174
174
|
- 0
|
175
|
-
hash: -
|
175
|
+
hash: -4561366707573626439
|
176
176
|
requirements: []
|
177
177
|
rubyforge_project: minitest-reporters
|
178
178
|
rubygems_version: 1.8.24
|