Sha256: 711ec42806c4b711fe2ef21615d91e7f02e21a7d52e6e89976fe239c3a04f9a2

Contents?: true

Size: 333 Bytes

Versions: 1

Compression:

Stored size: 333 Bytes

Contents

require 'spec/spec_helper'

describe 'helper function tests' do

  it 'should return NUL in windows' do
    Taza.stubs(:windows?).returns true
    null_device.should eql('NUL')
  end

  it 'should return /dev/null in windows' do
    Taza.stubs(:windows?).returns false
    null_device.should eql('/dev/null')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
taza-0.8.0 spec/unit_helper_spec.rb