Skip to content

Commit

Permalink
Update rspec to version 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Dec 26, 2023
1 parent af1c2a0 commit 574b45c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 17 deletions.
3 changes: 1 addition & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ group :development do
gem "cucumber", "~> 6.0"
gem "minitest"
gem "rake"
gem "rspec", "~> 3.10"
gem "rspec-mocks", "3.10.2"
gem "rspec"
gem "pry"
gem "rubocop"
gem "test-unit"
Expand Down
25 changes: 12 additions & 13 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -134,19 +134,19 @@ GEM
rake (13.1.0)
regexp_parser (2.8.3)
rexml (3.2.6)
rspec (3.10.0)
rspec-core (~> 3.10.0)
rspec-expectations (~> 3.10.0)
rspec-mocks (~> 3.10.0)
rspec-core (3.10.2)
rspec-support (~> 3.10.0)
rspec-expectations (3.10.2)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.10.0)
rspec-mocks (3.10.2)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.6)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.10.0)
rspec-support (3.10.3)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
rubocop (1.59.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
Expand Down Expand Up @@ -202,8 +202,7 @@ DEPENDENCIES
pry
rackup
rake
rspec (~> 3.10)
rspec-mocks (= 3.10.2)
rspec
rubocop
simplecov!
test-unit
Expand Down
4 changes: 2 additions & 2 deletions spec/simplecov_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -327,13 +327,13 @@ def expect_merged
end

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

SimpleCov.send :start_coverage_measurement
end

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

SimpleCov.enable_coverage :branch

Expand Down

0 comments on commit 574b45c

Please sign in to comment.