spec/eprimetab_parser_spec.rb in optimus-ep-0.6.91 vs spec/eprimetab_parser_spec.rb in optimus-ep-0.8.0

- old
+ new

@@ -1,23 +1,23 @@ # 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::EprimetabParser do +describe Optimus::Reader::OptimustabParser do before :each do @file = File.open(EPRIME_FILE, 'r') - @reader = Eprime::Reader::EprimetabParser.new(@file) + @reader = Optimus::Reader::OptimustabParser.new(@file) end - it "should read the sample eprime file" do + it "should read the sample optimus file" do lambda { - @reader.to_eprime + @reader.to_optimus }.should_not raise_error end end \ No newline at end of file