Skip to content

Commit

Permalink
Fix rubocop offense
Browse files Browse the repository at this point in the history
  • Loading branch information
dalibor authored and andrykonchin committed Nov 22, 2024
1 parent 605e0a0 commit abe75c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rubocop_thread_safety.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# TODO: Comment out the following to see code needing to be refactored for thread safety!
ThreadSafety/ClassAndModuleAttributes:
Enabled: false
ThreadSafety/InstanceVariableInClassMethod:
ThreadSafety/ClassInstanceVariable:
Enabled: false
2 changes: 1 addition & 1 deletion spec/dynamoid/type_casting_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@

obj = klass.new(values: Set.new([1, 1.5, '2'.to_d]))

expect(obj.values).to eql(Set.new([1, 1, 2]))
expect(obj.values).to eql(Set.new([1, 2]))
end

it 'type casts numbers' do
Expand Down

0 comments on commit abe75c5

Please sign in to comment.