Sha256: 28cf47e9b7869c1ec25e09855fd5ae0dd2f54078debf16478270771a00b1bc90
Contents?: true
Size: 597 Bytes
Versions: 4
Compression:
Stored size: 597 Bytes
Contents
describe RabbitMQ::Definition::Command do describe "#initialize" do it "sets the client" do client = double("client") command = RabbitMQ::Definition::Command.new(client, false) expect(command.client).to eq(client) end it "sets the verbosity" do command = RabbitMQ::Definition::Command.new(nil, true) expect(command.verbose).to eq(true) end end describe "#execute" do it "raises NotImplementedError" do expect{ RabbitMQ::Definition::Command.new(nil, nil).execute }.to raise_error(NotImplementedError) end end end
Version data entries
4 entries across 4 versions & 1 rubygems