Skip to content

Commit a300b71

Browse files
committed
wip
1 parent e457d18 commit a300b71

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

Gemfile.lock

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ GIT
66
capybara (~> 3.13, < 4)
77
websocket-driver (>= 0.6.5)
88

9+
GIT
10+
remote: https://github.com/umbrellio/simplecov-html.git
11+
revision: ba51dee30220b2978b44be1bba86d91056e412f6
12+
branch: add-method-coverage-support
13+
specs:
14+
simplecov-html (0.12.3)
15+
916
PATH
1017
remote: .
1118
specs:
@@ -160,7 +167,6 @@ GEM
160167
rubocop-ast (1.24.1)
161168
parser (>= 3.1.1.0)
162169
ruby-progressbar (1.11.0)
163-
simplecov-html (0.12.3)
164170
simplecov_json_formatter (0.1.3)
165171
spoon (0.0.6)
166172
ffi
@@ -206,6 +212,7 @@ DEPENDENCIES
206212
rspec
207213
rubocop
208214
simplecov!
215+
simplecov-html!
209216
test-unit
210217
webrick
211218

spec/simplecov_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,15 +336,15 @@ def expect_merged
336336
end
337337

338338
it "starts coverage with lines and branches if branch coverage is activated" do
339-
expect(Coverage).to receive(:start).with(lines: true, branches: true)
339+
expect(Coverage).to receive(:start).with({lines: true, branches: true})
340340

341341
SimpleCov.enable_coverage :branch
342342

343343
SimpleCov.send :start_coverage_measurement
344344
end
345345

346346
it "starts coverage with lines and methods if method coverage is activated" do
347-
expect(Coverage).to receive(:start).with(lines: true, methods: true)
347+
expect(Coverage).to receive(:start).with({lines: true, methods: true})
348348

349349
SimpleCov.enable_coverage :method
350350

0 commit comments

Comments
 (0)