Skip to content

Commit 0dfc64a

Browse files
committed
rubocop
1 parent 4c05470 commit 0dfc64a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

spec/completely/installer_spec.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@
7474
let(:missing_file) { 'tmp/missing-file' }
7575

7676
before do
77-
allow(subject).to receive(:script_path).and_return existing_file
78-
allow(subject).to receive(:target_path).and_return missing_file
77+
allow(subject).to receive_messages(script_path: existing_file, target_path: missing_file)
7978
end
8079

8180
context 'when the completions_path cannot be found' do

0 commit comments

Comments
 (0)