Sha256: aea8d810fc7ea9437dfe1e7ed5a367681f746eaa89e1f6f0c4ba8e8cf4960e43

Contents?: true

Size: 462 Bytes

Versions: 1

Compression:

Stored size: 462 Bytes

Contents

require 'spec_helper'

describe Roo::Excelx do
  describe '.new' do
    subject {
      Roo::Excelx.new('test/files/numbers1.xlsx')
    }

    it 'creates an instance' do
      expect(subject).to be_a(Roo::Excelx)
    end

    context 'given a file with missing rels' do
      subject {
        Roo::Excelx.new('test/files/file_item_error.xlsx')
      }

      it 'creates an instance' do
        expect(subject).to be_a(Roo::Excelx)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
roo-1.13.1 spec/lib/roo/excelx_spec.rb