Manish Manchanda
2010-Sep-15 14:57 UTC
[rspec-users] specs inside subfolder of lib folder not displaying proper error messages
hi im facing this issue in which if i place a failing spec inside a subfolder of my lib folder then along with the error message the file name and the line number is not shown. output as below: ''Test one'' FAILED expected: 2, got: 1 (using ==) but if i move the spec directly under lib or any other folder then i see the file name and line number with error message as below ''Test one'' FAILED expected: 2, got: 1 (using ==) ./spec/SFA/foo_spec.rb:6: my project structure is somewhat like below project project/app project/app/models project/lib project/lib/extension project/spec project/spec/app project/spec/lib project/spec/lib/extension so if i place the spec file under ''project/spec/lib/extension'' or any folder in that level then i do not see the file name and line number along with error msg. please advice regards, manish -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20100915/d3733d1d/attachment-0001.html>
Manish Manchanda
2010-Sep-15 15:24 UTC
[rspec-users] specs inside subfolder of lib folder not displaying proper error messages
and just to add, this is not a rails app -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20100915/cff04753/attachment.html>