# Part of the Optimus package for managing E-Prime data # # Copyright (C) 2008-09 Board of Regents of the University of Wisconsin System # # Written by Nathan Vack , 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/optimus') include OptimusTestHelper describe Optimus::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 = Optimus::Reader::ExcelParser.new(@file) end it "should read the sample excel file" do lambda { @reader.to_optimus }.should_not raise_error end end