Sha256: e20786a7d8a215e16b48c738327c386ba9ce18bafe3ad57fd0f33047bfd3082a

Contents?: true

Size: 292 Bytes

Versions: 4

Compression:

Stored size: 292 Bytes

Contents

require 'helper'

module Bixby
module Test

  class TestPlatformUtil < TestCase

    def test_util
      if `uname` =~ /Darwin/ then
        assert FooUtil.new.osx?
        refute FooUtil.new.linux?
      end
    end

  end

  class FooUtil
    include Bixby::Script::Platform
  end

end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bixby-client-0.5.3 test/bixby-client/test_platform_util.rb
bixby-client-0.5.2 test/bixby-client/test_platform_util.rb
bixby-client-0.5.1 test/bixby-client/test_platform_util.rb
bixby-client-0.5.0 test/bixby-client/test_platform_util.rb