Skip to content

Commit

Permalink
Update BlacklistValidatorSpec to match auto-corrected BlacklistValidator
Browse files Browse the repository at this point in the history
  • Loading branch information
reidab committed Apr 30, 2019
1 parent 5cda791 commit 05cb30e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/calagator/blacklist_validator_spec.rb
Expand Up @@ -45,7 +45,7 @@ module Calagator
let(:blacklist_file_path) { Rails.root.join('config/blacklist.txt') }

before do
allow(File).to receive(:exists?).with(blacklist_file_path).and_return(true)
allow(File).to receive(:exist?).with(blacklist_file_path).and_return(true)
expect(File).to receive(:readlines).with(blacklist_file_path).and_return(['Kltpzyxm'])
end

Expand Down

0 comments on commit 05cb30e

Please sign in to comment.