spec/stomper/scopes/header_scope_spec.rb in stomper-2.0.0 vs spec/stomper/scopes/header_scope_spec.rb in stomper-2.0.1
- old
+ new
@@ -5,10 +5,10 @@
describe HeaderScope do
before(:each) do
@connection = mock("connection", :is_a? => true, :version => '1.1')
@headers = { :global_1 => 'turbo', 'global_2' => 'is me', :persistent => true }
@connection.stub!(:subscription_manager).and_return(mock('subscription manager', {
- :subscribed_id? => true
+ :remove => ['no-real-destination']
}))
@scope = HeaderScope.new(@connection, @headers)
end
it "should apply the headers to any frame generated on its Common interface" do
\ No newline at end of file