Sha256: f57f89681357533fea0f13efb03eea0f098e02db63124c411a9be139fa44f13b

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

require 'spec_helper'

describe Roo::Spreadsheet do
  describe '.open' do
    context 'when the file extension is uppercase' do
      let(:filename) { 'file.XLS' }

      it 'loads the proper type' do
        Roo::Excel.should_receive(:new).with(filename)
        Roo::Spreadsheet.open(filename)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
roo-1.11.2 spec/lib/roo/spreadsheet_spec.rb