Skip to content

Commit

Permalink
Merge pull request #36 from code0-tech/renovate/rubocop-rspec-2.x-loc…
Browse files Browse the repository at this point in the history
…kfile

Update dependency rubocop-rspec to v2.26.0
  • Loading branch information
Taucher2003 authored Jan 4, 2024
2 parents aea059a + 7972c2b commit 178e495
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ GEM
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
rubocop-capybara (2.19.0)
rubocop-capybara (2.20.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.25.0)
rubocop (~> 1.33)
Expand All @@ -288,7 +288,7 @@ GEM
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-rspec (2.25.0)
rubocop-rspec (2.26.0)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
Expand Down
4 changes: 2 additions & 2 deletions spec/graphql/types/global_id_type_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@
expect { type.coerce_isolated_result(gid) }.to raise_error(GraphQL::CoercionError, /Expected a User ID/)
end

it 'will not coerce IDs to a GlobalIDType' do
it 'does not coerce IDs to a GlobalIDType' do
expect { type.coerce_isolated_result(user.id) }.to raise_error(GraphQL::CoercionError, /Expected a User ID/)
end

it 'will not coerce invalid input, even if its a valid GID' do
it 'does not coerce invalid input, even if its a valid GID' do
expect do
type.coerce_isolated_input(gid.to_s)
end.to raise_error(GraphQL::CoercionError, /does not represent an instance of User/)
Expand Down
6 changes: 2 additions & 4 deletions spec/lib/sagittarius/loggable_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@
end

context 'with named class' do
around do |example|
Object.const_set('TestClass', clazz)
example.run
Object.send(:remove_const, 'TestClass')
before do
stub_const('TestClass', clazz)
end

it 'for instantiated class' do
Expand Down

0 comments on commit 178e495

Please sign in to comment.