Sha256: 25a0925ce14f4f903ef737d7dc629f68730a47aeca459e8f7f929a1308d3b64f
Contents?: true
Size: 432 Bytes
Versions: 14
Compression:
Stored size: 432 Bytes
Contents
require 'spec_helper' describe "pub sub" do it do @got_it = false Albacore.subscribe :pubsub do |obj| @got_it = obj end Albacore.publish :pubsub, true @got_it.should be_true end it 'knows if it\'s Windows it\'s running on' do (::Albacore.windows? === true || ::Albacore::windows? === false).should be_true end it 'should not be nil' do ::Albacore.windows?.should_not be_nil end end
Version data entries
14 entries across 14 versions & 1 rubygems