Skip to content

Commit

Permalink
Update rubocop-rspec requirement from ~> 2.29.2 to ~> 2.30.0 (#122)
Browse files Browse the repository at this point in the history
* Update rubocop-rspec requirement from ~> 2.29.2 to ~> 2.30.0

Updates the requirements on [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-rspec@v2.29.2...v2.30.0)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* fixes

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Łukasz Strzebińczyk <lukasz.strzebinczyk@toptal.com>
  • Loading branch information
dependabot[bot] and lstrzebinczyk authored Jun 6, 2024
1 parent 24528b6 commit d5a0ccd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion granite.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rspec-rails', '~> 6.0'
s.add_development_dependency 'rubocop', '~> 1.64.1'
s.add_development_dependency 'rubocop-rails', '~> 2.25.0'
s.add_development_dependency 'rubocop-rspec', '~> 2.29.2'
s.add_development_dependency 'rubocop-rspec', '~> 2.30.0'
s.add_development_dependency 'simplecov', '~> 0.15'

s.metadata['rubygems_mfa_required'] = 'true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
context 'when in transaction' do
let(:run_transaction) do
transactions_stack.transaction do
expect(transactions_stack.depth).to eq(1)
expect { transactions_stack.add_callback(callback1) }.to change(transactions_stack, :callbacks).to([callback1])
transactions_stack.add_callback(callback1)
block1
end
end
Expand All @@ -42,10 +41,7 @@
transactions_stack.transaction do
transactions_stack.add_callback(callback1)
transactions_stack.transaction do
expect(transactions_stack.depth).to eq(2)
expect do
transactions_stack.add_callback(callback2)
end.to change(transactions_stack, :callbacks).to([callback1, callback2])
transactions_stack.add_callback(callback2)
block2
end
end
Expand Down

0 comments on commit d5a0ccd

Please sign in to comment.