Sha256: 89560657b8c67363c0b8fd0e5f37115e2b5a1c52bf163a0f350098f456a6f9b0
Contents?: true
Size: 442 Bytes
Versions: 85
Compression:
Stored size: 442 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 expect(@got_it).to be true end it 'knows if it\'s Windows it\'s running on' do expect(::Albacore.windows? === true || ::Albacore::windows? === false).to be true end it 'should not be nil' do expect(::Albacore.windows?).to_not be nil end end
Version data entries
85 entries across 85 versions & 1 rubygems