Sha256: 679a85c2f894ad3c2b044ebcc8bd9f4780b94a5df01911b0f32a34ea486bfdf8

Contents?: true

Size: 211 Bytes

Versions: 3

Compression:

Stored size: 211 Bytes

Contents

require 'spec_helper'

describe "pub sub" do
  it {
    @got_it = false
    Albacore.subscribe :pubsub do |obj| 
      @got_it = obj
    end
    Albacore.publish :pubsub, true
    @got_it.should be_true
  }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
albacore-2.0.0.rc.3 spec/albacore_spec.rb
albacore-2.0.0.rc.2 spec/albacore_spec.rb
albacore-2.0.0.rc.1 spec/albacore_spec.rb