spec/dech/ponpare/ftps_spec.rb in dech-0.1.0 vs spec/dech/ponpare/ftps_spec.rb in dech-0.1.1
- old
+ new
@@ -12,10 +12,10 @@
)
}
let(:ftps) {
ftps = double("ftps")
- allow(ftps).to receive(:passive=)
+ expect(ftps).to receive(:passive=).with(true)
allow(ftps).to receive(:ssl_context=)
allow(ftps).to receive(:connect)
allow(ftps).to receive(:login)
allow(ftps).to receive(:close)
expect(DoubleBagFTPS).to receive(:new).and_return(ftps)