diff --git a/spec/rcfile_spec.rb b/spec/rcfile_spec.rb index b05c9554..70a565c2 100644 --- a/spec/rcfile_spec.rb +++ b/spec/rcfile_spec.rb @@ -64,7 +64,7 @@ secret: 'jkl012', }, } - expect(File.world_writable?(rcfile.path)).to be nil + expect(File.world_writable?(rcfile.path)).to be_nil end it 'is not be world readable' do rcfile = T::RCFile.instance @@ -78,7 +78,7 @@ secret: 'jkl012', }, } - expect(File.world_readable?(rcfile.path)).to be nil + expect(File.world_readable?(rcfile.path)).to be_nil end end