Sha256: a3b22045edd8c338c6b9c06776eccd4f358832ed0f3477e5908e5b440aa291bb
Contents?: true
Size: 411 Bytes
Versions: 1
Compression:
Stored size: 411 Bytes
Contents
require 'spec_helper' describe Noip do describe '.update' do let(:updater) { instance_double(Noip::Updater) } before do allow(updater).to receive(:update) allow(Noip::Updater).to receive(:new).and_return(updater) end subject(:update) { Noip.update } before { update } it 'pushes a new update to noip' do expect(updater).to have_received(:update) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
noip-0.1 | spec/noip_spec.rb |