spec/onstomp/components/scopes/transaction_scope_spec.rb in onstomp-1.0.5 vs spec/onstomp/components/scopes/transaction_scope_spec.rb in onstomp-1.0.6

- old
+ new

@@ -9,9 +9,13 @@ end } let(:scope) { TransactionScope.new 't-1234', client } + + it "sets up the connection attribute" do + scope.connection.should == scope + end describe ".begin" do it "should use the scope's transaction id by default" do frame = scope.begin :header1 => 'value 1' frame.should have_headers(:header1 => 'value 1',