Ashley Moran
2008-Apr-03 08:56 UTC
[rspec-users] Anyone experienced RSpec/Autotest forgetting models?
Hi Saving a controller spec frequently gives me this error: 52) LoadError in ''UsersController GET /users with basic request params should find all the user types'' Expected /home/amoran/Documents/becta/apps/Backend/app/models/user_type.rb to define UserType ./spec/controllers/users_controller_spec.rb:299: script/spec:4: I have to Ctrl-C autotest before it will load again. Anyone else seen this? Is it a known issue? I am on trunk r3333. Thanks Ashley -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20080403/f5058091/attachment.html
David Chelimsky
2008-Apr-03 12:56 UTC
[rspec-users] Anyone experienced RSpec/Autotest forgetting models?
On Thu, Apr 3, 2008 at 4:56 AM, Ashley Moran <ashley.moran at patchspace.co.uk> wrote:> Hi > > Saving a controller spec frequently gives me this error: > > 52) > LoadError in ''UsersController GET /users with basic request params should > find all the user types'' > Expected /home/amoran/Documents/becta/apps/Backend/app/models/user_type.rb > to define UserType > ./spec/controllers/users_controller_spec.rb:299: > script/spec:4: > > I have to Ctrl-C autotest before it will load again. > > Anyone else seen this? Is it a known issue?This question comes up a lot. Please search at http://rspec.lighthouseapp.com for a ticket. If you don''t find something, consider it "not known" and add a ticket. Thanks, David> I am on trunk r3333. > > Thanks > Ashley > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >