[rspec-users] Fixtures are not loaded while running controller spec
lists at ruby-forum.com
Fri Jun 12 02:10:19 EDT 2009
David Chelimsky wrote:
> On Thu, Jun 11, 2009 at 11:50 AM, Amit Kulkarni<lists at ruby-forum.com>
>> � require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
>> � �if @user
>> �id: 1
>> I dont know what is wrong.
>> Please suggest :-)
> Make sure that the fixtures are in the same place that is declared in
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
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/.
More information about the rspec-users