Sha256: 5290e7088990e4e6d697bcf084ae93e090c6336869e916f6e96d141cb9f26e37

Contents?: true

Size: 778 Bytes

Versions: 7

Compression:

Stored size: 778 Bytes

Contents

# Part of the Optimus package for managing E-Prime data
# 
# Copyright (C) 2008 Board of Regents of the University of Wisconsin System
# 
# Written by Nathan Vack <njvack@wisc.edu>, at the Waisman Laborotory for Brain
# Imaging and Behavior, University of Wisconsin - Madison

require File.join(File.dirname(__FILE__),'spec_helper')
require File.join(File.dirname(__FILE__), '../lib/eprime')
include EprimeTestHelper

describe Eprime::Reader::ExcelParser do
  
  # We don't need to do much here; the superclass handles almost everything
  
  before :each do
    @file = File.open(EXCEL_FILE, 'r')
    @reader = Eprime::Reader::ExcelParser.new(@file)
  end
  
  it "should read the sample excel file" do
    lambda {
      @reader.to_eprime
    }.should_not raise_error
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
optimus-ep-0.5 spec/excel_parser_spec.rb
optimus-ep-0.5.5 spec/excel_parser_spec.rb
optimus-ep-0.5.6 spec/excel_parser_spec.rb
optimus-ep-0.6.0 spec/excel_parser_spec.rb
optimus-ep-0.6.5 spec/excel_parser_spec.rb
optimus-ep-0.6.9 spec/excel_parser_spec.rb
optimus-ep-0.6.91 spec/excel_parser_spec.rb