spec/lib/pdksync_spec.rb in pdksync-0.3.0 vs spec/lib/pdksync_spec.rb in pdksync-0.4.0
- old
+ new
@@ -12,9 +12,10 @@
@folder = Dir.pwd
end
before(:each) do
allow(PdkSync).to receive(:return_modules).and_return(@module_names)
+ allow(PdkSync).to receive(:validate_modules_exist).and_return(@module_names)
Dir.chdir(@folder)
end
context 'main method' do
it 'runs clone sucessfully' do