Skip to content

Commit

Permalink
Prefer be_nil over be(nil)
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Apr 30, 2023
1 parent c07f0f7 commit 5a5ea9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/rcfile_spec.rb
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 5a5ea9f

Please sign in to comment.