Sha256: c30d05dfef907d2b6321cd8d267d75b25e669c87ffa2ab7eaf0148fb4652e6ba

Contents?: true

Size: 383 Bytes

Versions: 3

Compression:

Stored size: 383 Bytes

Contents

require 'test_helper'

describe Unitwise do
  describe '()' do
    it "should accept a number and string" do
      Unitwise(2, 'm/s').must_be_instance_of Unitwise::Measurement
    end
    it "should accept a lonely string" do
      Unitwise('kg').must_be_instance_of Unitwise::Measurement
    end
  end
  it "should have a path" do
    Unitwise.path.must_match(/unitwise$/)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
unitwise-0.3.2 test/unitwise_test.rb
unitwise-0.3.1 test/unitwise_test.rb
unitwise-0.3.0 test/unitwise_test.rb