spec/excel_parser_spec.rb in optimus-ep-0.6.91 vs spec/excel_parser_spec.rb in optimus-ep-0.8.0
- old
+ new
@@ -1,26 +1,26 @@
# Part of the Optimus package for managing E-Prime data
#
-# Copyright (C) 2008 Board of Regents of the University of Wisconsin System
+# Copyright (C) 2008-09 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
+require File.join(File.dirname(__FILE__), '../lib/optimus')
+include OptimusTestHelper
-describe Eprime::Reader::ExcelParser do
+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 = Eprime::Reader::ExcelParser.new(@file)
+ @reader = Optimus::Reader::ExcelParser.new(@file)
end
it "should read the sample excel file" do
lambda {
- @reader.to_eprime
+ @reader.to_optimus
}.should_not raise_error
end
end
\ No newline at end of file