# 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::OptimustabParser do before :each do @file = File.open(EPRIME_FILE, 'r') @reader = Optimus::Reader::OptimustabParser.new(@file) end it "should read the sample optimus file" do lambda { @reader.to_optimus }.should_not raise_error end end