Sha256: 9893238961ae514cd53b0e0149f93183b4a7fc19d13f755bd86822af28d1f075

Contents?: true

Size: 369 Bytes

Versions: 10

Compression:

Stored size: 369 Bytes

Contents

require 'spec_helper'

describe Roo::Excel do
  let(:excel) { Roo::Excel.new('test/files/boolean.xls') }

  describe '.new' do
    it 'creates an instance' do
      expect(excel).to be_a(Roo::Excel)
    end
  end

  describe '#sheets' do
    it 'returns the sheet names of the file' do
      expect(excel.sheets).to eq(["Sheet1", "Sheet2", "Sheet3"])
    end
  end
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
roo-xls-1.2.0 spec/lib/roo/xls/excel_spec.rb
roo-xls-1.1.0 spec/lib/roo/xls/excel_spec.rb
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/roo-1.13.2/spec/lib/roo/excel_spec.rb
roo-xls-1.0.0 spec/lib/roo/xls/excel_spec.rb
roo-1.13.2 spec/lib/roo/excel_spec.rb
roo-1.13.1 spec/lib/roo/excel_spec.rb
roo-1.13.0 spec/lib/roo/excel_spec.rb
roo-1.12.2 spec/lib/roo/excel_spec.rb
roo-1.12.1 spec/lib/roo/excel_spec.rb
roo-1.12.0 spec/lib/roo/excel_spec.rb