inspec/test/unit/resource_csv_test.rb
Christoph Hartmann 8fff2ee989 add author header
2015-10-06 18:55:44 +02:00

16 lines
428 B
Ruby

# encoding: utf-8
# author: Christoph Hartmann
# author: Dominik Richter
require 'helper'
require 'vulcano/resource'
describe 'Vulcano::Resources::CSV' do
let(:resource) { load_resource('csv', 'example.csv') }
it 'verify csv parsing' do
_(resource.params).wont_equal nil
_(resource.send('1.addressable')).must_equal 'astrolabe'
_(resource.send('addressable')).must_equal %w{ast astrolabe berkshelf}
end
end