diff --git a/test/test_completion.rb b/test/test_completion.rb index 7e53ab48d..690ceed3e 100644 --- a/test/test_completion.rb +++ b/test/test_completion.rb @@ -53,7 +53,7 @@ def self.name; :symboly_name; end end it 'should complete instance variables' do - object = Object.new + object = Class.new.new # set variables in appropriate scope object.instance_variable_set(:'@name', 'Pry')