Skip to content

Commit

Permalink
silence replicator spec puts
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrock committed Feb 26, 2018
1 parent 2b45079 commit a574050
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
describe "#replicate" do
it "targets only other servers" do
miq_server.add_settings_for_resource(settings)
expect(described_class).to receive(:puts).with(/Replicating from server id=[0-9]*, path=k1\/k2 to 1 servers/)
expect(described_class).to receive(:puts).with("Settings: {:k1=>{:k2=>{:k3=>\"v3\"}}}")
expect(described_class).to receive(:puts).with("Done")
expect(described_class).to receive(:copy_to).with([miq_server_remote], settings)
described_class.replicate(miq_server, 'k1/k2')
end
Expand Down

0 comments on commit a574050

Please sign in to comment.