mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 04:24:35 +08:00
DEV: Use proper wording for contexts in specs
This commit is contained in:

committed by
Loïc Guitaut

parent
02987e05d5
commit
3eaac56797
@ -61,7 +61,7 @@ RSpec.describe CommonPasswords do
|
||||
end
|
||||
end
|
||||
|
||||
context "missing password file" do
|
||||
describe "missing password file" do
|
||||
it "tolerates it" do
|
||||
File.stubs(:readlines).with(described_class::PASSWORD_FILE).raises(Errno::ENOENT)
|
||||
expect(described_class.common_password?("password")).to eq(false)
|
||||
|
Reference in New Issue
Block a user