[rspec-users] html::document errors

Joe Van Dyk joe at pinkpucker.net
Tue Jun 23 18:15:05 EDT 2009


    And Joe should see a radio button representing the answer 'OJ'
 # features/step_definitions/trat_steps.rb:111
      uninitialized constant HTML::Document (NameError)
      /home/joe/projects/cisv/vendor/plugins/rspec/lib/spec/matchers/method_missing.rb:6:in
`method_missing'
      /home/joe/projects/cisv/vendor/plugins/rspec-rails/lib/spec/rails/matchers/assert_select.rb:25:in
`__send__'
      /home/joe/projects/cisv/vendor/plugins/rspec-rails/lib/spec/rails/matchers/assert_select.rb:25:in
`matches?'
      /home/joe/projects/cisv/vendor/plugins/rspec/lib/spec/expectations/handler.rb:11:in
`handle_matcher'
      /home/joe/projects/cisv/vendor/plugins/rspec/lib/spec/expectations/extensions/kernel.rb:27:in
`should'
      ./features/step_definitions/trat_steps.rb:113:in `/should see a
radio button representing the answer '(.*)'/'
      features/trat/taking/answer_sheet.feature:53:in `And Joe should
see a radio button representing the answer 'OJ''


Any ideas?  Where's HTML::Document supposed to be defined?

Joe


More information about the rspec-users mailing list