We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c05470 commit 0dfc64aCopy full SHA for 0dfc64a
1 file changed
spec/completely/installer_spec.rb
@@ -74,8 +74,7 @@
74
let(:missing_file) { 'tmp/missing-file' }
75
76
before do
77
- allow(subject).to receive(:script_path).and_return existing_file
78
- allow(subject).to receive(:target_path).and_return missing_file
+ allow(subject).to receive_messages(script_path: existing_file, target_path: missing_file)
79
end
80
81
context 'when the completions_path cannot be found' do
0 commit comments