Sha256: afbfc3302c35f65dae32240a2a873d38c7cbbe589451f0e1fa1c7af9a04fb0b6

Contents?: true

Size: 313 Bytes

Versions: 5

Compression:

Stored size: 313 Bytes

Contents

shared_examples "an adapter context" do
  it { should be_a MessageDriver::Adapters::ContextBase }

  it "is initially valid" do
    should be_valid
  end

  describe "#invalidate" do
    it "causes the context to become invalid" do
      subject.invalidate
      expect(subject).to_not be_valid
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
message-driver-0.2.2 spec/support/shared/context_examples.rb
message-driver-0.2.1 spec/support/shared/context_examples.rb
message-driver-0.2.0 spec/support/shared/context_examples.rb
message-driver-0.2.0.rc2 spec/support/shared/context_examples.rb
message-driver-0.2.0.rc1 spec/support/shared/context_examples.rb