spec/support/shared/context_examples.rb in message-driver-0.2.2 vs spec/support/shared/context_examples.rb in message-driver-0.3.0
- old
+ new
@@ -1,7 +1,9 @@
shared_examples "an adapter context" do
it { should be_a MessageDriver::Adapters::ContextBase }
+ its(:adapter) { should be adapter }
+
it "is initially valid" do
should be_valid
end
describe "#invalidate" do