Skip to content

Commit 574b45c

Browse files
committed
Update rspec to version 3.12
1 parent af1c2a0 commit 574b45c

File tree

3 files changed

+15
-17
lines changed

3 files changed

+15
-17
lines changed

Gemfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ group :development do
1919
gem "cucumber", "~> 6.0"
2020
gem "minitest"
2121
gem "rake"
22-
gem "rspec", "~> 3.10"
23-
gem "rspec-mocks", "3.10.2"
22+
gem "rspec"
2423
gem "pry"
2524
gem "rubocop"
2625
gem "test-unit"

Gemfile.lock

+12-13
Original file line numberDiff line numberDiff line change
@@ -134,19 +134,19 @@ GEM
134134
rake (13.1.0)
135135
regexp_parser (2.8.3)
136136
rexml (3.2.6)
137-
rspec (3.10.0)
138-
rspec-core (~> 3.10.0)
139-
rspec-expectations (~> 3.10.0)
140-
rspec-mocks (~> 3.10.0)
141-
rspec-core (3.10.2)
142-
rspec-support (~> 3.10.0)
143-
rspec-expectations (3.10.2)
137+
rspec (3.12.0)
138+
rspec-core (~> 3.12.0)
139+
rspec-expectations (~> 3.12.0)
140+
rspec-mocks (~> 3.12.0)
141+
rspec-core (3.12.2)
142+
rspec-support (~> 3.12.0)
143+
rspec-expectations (3.12.3)
144144
diff-lcs (>= 1.2.0, < 2.0)
145-
rspec-support (~> 3.10.0)
146-
rspec-mocks (3.10.2)
145+
rspec-support (~> 3.12.0)
146+
rspec-mocks (3.12.6)
147147
diff-lcs (>= 1.2.0, < 2.0)
148-
rspec-support (~> 3.10.0)
149-
rspec-support (3.10.3)
148+
rspec-support (~> 3.12.0)
149+
rspec-support (3.12.1)
150150
rubocop (1.59.0)
151151
json (~> 2.3)
152152
language_server-protocol (>= 3.17.0)
@@ -202,8 +202,7 @@ DEPENDENCIES
202202
pry
203203
rackup
204204
rake
205-
rspec (~> 3.10)
206-
rspec-mocks (= 3.10.2)
205+
rspec
207206
rubocop
208207
simplecov!
209208
test-unit

spec/simplecov_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -327,13 +327,13 @@ def expect_merged
327327
end
328328

329329
it "starts coverage in lines mode by default" do
330-
expect(Coverage).to receive(:start).with(lines: true)
330+
expect(Coverage).to receive(:start).with({lines: true})
331331

332332
SimpleCov.send :start_coverage_measurement
333333
end
334334

335335
it "starts coverage with lines and branches if branches is activated" do
336-
expect(Coverage).to receive(:start).with(lines: true, branches: true)
336+
expect(Coverage).to receive(:start).with({lines: true, branches: true})
337337

338338
SimpleCov.enable_coverage :branch
339339

0 commit comments

Comments
 (0)