Sha256: 88336791336639c9c210a7efb15da82e24b37aaa95a6698f4c970c4a0de872ab

Contents?: true

Size: 396 Bytes

Versions: 3

Compression:

Stored size: 396 Bytes

Contents

require 'spec_helper'

describe NhtsaVin do
  let(:vin) { '2G1WT57K291223396' }
  describe '#get' do
    let(:get) { NhtsaVin.get(vin) }
    it 'returns a query' do
      expect(get).to be_a NhtsaVin::Query
    end
  end
  describe '#validate' do
    let(:validate) { NhtsaVin.validate(vin) }
    it 'returns a validation' do
      expect(validate).to be_a NhtsaVin::Validation
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nhtsa_vin-0.0.8 spec/lib/nhtsa_vin_spec.rb
nhtsa_vin-0.0.7 spec/lib/nhtsa_vin_spec.rb
nhtsa_vin-0.0.6 spec/lib/nhtsa_vin_spec.rb