rspec / rspec.tmbundle

Textmate bundle for RSpec.
MIT License
195 stars 52 forks source link

rspec window doesn't show right backtrace #19

Closed inspire22 closed 11 years ago

inspire22 commented 14 years ago

For example, here's an error in my partial, shown in the rspec results html window:

get
undefined method `item_type' for #
./app/helpers/application_helper.rb:116 :in `partial'
./app/controllers/application_controller.rb:244 :in `render'
./spec/controllers/assignment_controller_spec.rb:60 
362        return __send__(match.target, match.attr_name, *args, &block)
363      end
364      super
365    end
366
367# gem install syntax to get syntax highlight

The same thing on the command line:

1) AssignmentController grade get
Failure/Error: get :grade, :id => @gid
undefined method `item_type' for #<Homework:0x1085c2e08>
# ./app/views/comment/_comment.haml:26:in `_app_views_comment__comment_haml___747077949_2217537420_744830'
# ./app/helpers/application_helper.rb:116:in `partial'
# ./app/views/assignment/grade.haml:13:in `_app_views_assignment_grade_haml___962066849_2217588300_0'
# ./app/views/assignment/grade.haml:12:in `each'
# ./app/views/assignment/grade.haml:12:in `_app_views_assignment_grade_haml___962066849_2217588300_0'
# ./app/views/assignment/grade.haml:8:in `_app_views_assignment_grade_haml___962066849_2217588300_0'
# ./app/controllers/application_controller.rb:244:in `render'
# ./spec/controllers/assignment_controller_spec.rb:60

Any idea why the backtrace is messed up from textmate?

pcasaretto commented 11 years ago

Hey is this still happening? 2 years is a long time, sorry.