Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 3bbcb65

Browse files
committed
Remove string literal warning
1 parent 4592c7f commit 3bbcb65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/rspec/support_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def self.to_s
164164

165165
context 'with an object having a singleton class' do
166166
let(:object) do
167-
object = 'foo'
167+
object = String.new('foo')
168168

169169
def object.some_method
170170
end

0 commit comments

Comments
 (0)