David Chelimsky wrote: > On Thu, Jun 11, 2009 at 11:50 AM, Amit Kulkarni<li...@ruby-forum.com> > wrote: >> � require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') >> � �if @user >> �id: 1 >> amit: >> I dont know what is wrong. >> Please suggest :-) > > Make sure that the fixtures are in the same place that is declared in > spec/spec_helper.rb.
My fixtures are under spec/fixtures directory. Earlier it were working fine.But suddenly i dont know what went wrong. Also i checked that if i comment fixtures line then the specs are running fine. Again when i uncomment the fixtures line then it is not working and fixtures are not getting loaded. -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users