Sha256: 85084cadf7646ebaceb8a44829e0c0c03b24d732ac55bd49229b935e6cfb54cb
Contents?: true
Size: 468 Bytes
Versions: 2
Compression:
Stored size: 468 Bytes
Contents
require 'spec_helper' describe Terrapin::OSDetector do it "detects that the system is unix" do on_unix! Terrapin::OS.should be_unix end it "detects that the system is windows" do on_windows! Terrapin::OS.should be_windows end it "detects that the system is windows (mingw)" do on_mingw! Terrapin::OS.should be_windows end it "detects that the current Ruby is on Java" do on_java! Terrapin::OS.should be_java end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
terrapin-0.6.0 | spec/terrapin/os_detector_spec.rb |
terrapin-0.6.0.alpha | spec/terrapin/os_detector_spec.rb |