Sha256: 550c0150056421bee3ad5be77e7eb9aab6f60b83084f7820560c362e72cf9a2c
Contents?: true
Size: 458 Bytes
Versions: 5
Compression:
Stored size: 458 Bytes
Contents
shared_examples "an adapter" do describe "#new_context" do it "returns a MessageDriver::Adapters::ContextBase" do expect(subject.new_context).to be_a MessageDriver::Adapters::ContextBase end end describe "#stop" do it "invalidates all the adapter contexts" do ctx1 = subject.new_context ctx2 = subject.new_context subject.stop expect(ctx1).to_not be_valid expect(ctx2).to_not be_valid end end end
Version data entries
5 entries across 5 versions & 1 rubygems