Sha256: e86d51329a52f4f9c55c6db263050c28c02894ccf24a0e6d24b9c741e6ce36bf

Contents?: true

Size: 365 Bytes

Versions: 4

Compression:

Stored size: 365 Bytes

Contents

# encoding: utf-8
require 'spec_helper'

describe SimpleSpreadsheet do
  let(:xls_file)  { File.expand_path '../fixtures/file.xlsx', __FILE__ }
  let(:file_path) { Pathname.new xls_file }

  it 'allows pathnames as filename argument without raising exception' do
    expect { SimpleSpreadsheet::Workbook.read(file_path) }.to_not raise_error(NoMethodError)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
simple-spreadsheet-0.5.0 spec/simple-spreadsheet_spec.rb
simple-spreadsheet-0.4.3 spec/simple-spreadsheet_spec.rb
simple-spreadsheet-0.4.2 spec/simple-spreadsheet_spec.rb
simple-spreadsheet-0.4.1 spec/simple-spreadsheet_spec.rb