Sha256: 77626fdf0e76baedbe9c59d55d45c6acc5479e22171d5eb197b92b451d87310d
Contents?: true
Size: 655 Bytes
Versions: 7
Compression:
Stored size: 655 Bytes
Contents
# -*- encoding: utf-8 -*- require 'spec_helper' module Stomper::Extensions describe Scoping do before(:each) do @scoping = mock("scoping", :version => '1.0') @scoping.extend Scoping end it "should return a new HeaderScope" do @scoping.with_headers({}).should be_an_instance_of(::Stomper::Scopes::HeaderScope) end it "should return a new TransactionScope" do @scoping.with_transaction.should be_an_instance_of(::Stomper::Scopes::TransactionScope) end it "should return a new ReceiptScope" do @scoping.with_receipt.should be_an_instance_of(::Stomper::Scopes::ReceiptScope) end end end
Version data entries
7 entries across 7 versions & 1 rubygems