Skip to content

Commit

Permalink
Merge pull request #1544 from denny/dependabot/bundler/rubocop-rspec-…
Browse files Browse the repository at this point in the history
…2.27.0

Bump rubocop-rspec from 2.26.1 to 2.27.0
  • Loading branch information
denny authored Mar 1, 2024
2 parents 2cb2278 + c445d4d commit 8229c3d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -667,9 +667,8 @@ GEM
rubocop-ast (>= 1.30.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.0)
rubocop-ast (1.31.1)
parser (>= 3.3.0.4)
prism (>= 0.24.0)
rubocop-capybara (2.20.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.25.1)
Expand All @@ -682,7 +681,7 @@ GEM
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-rspec (2.26.1)
rubocop-rspec (2.27.0)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
Expand Down
2 changes: 1 addition & 1 deletion plugins/ShinyCMS/spec/models/shinycms/setting_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
setting.level = 'user'

expect { _rbp = setting.save( validate: false ) }
.to raise_error ShinyCMS::Setting::CannotUpdateLockedSetting, 'Attempted to update a locked setting'
.to raise_error described_class::CannotUpdateLockedSetting, 'Attempted to update a locked setting'
end
end

Expand Down
6 changes: 3 additions & 3 deletions plugins/ShinyCMS/spec/other/i18n_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

# Tests to check i18n strings are all present and current
RSpec.describe I18n do
let( :i18n ) { I18n::Tasks::BaseTask.new }
let( :missing_keys ) { i18n.missing_keys }
let( :unused_keys ) { i18n.unused_keys }
let( :i18n ) { described_class::Tasks::BaseTask.new }
let( :missing_keys ) { i18n.missing_keys }
let( :unused_keys ) { i18n.unused_keys }

it 'does not have missing keys' do
error_message = "Missing #{missing_keys.leaves.count} i18n keys, run `i18n-tasks missing' to show them"
Expand Down

0 comments on commit 8229c3d

Please sign in to comment.