[rspec-users] html::document errors
David Chelimsky
dchelimsky at gmail.com
Fri Jun 26 09:59:38 EDT 2009
On Tue, Jun 23, 2009 at 5:43 PM, Joe Van Dyk<joe at pinkpucker.net> wrote:
> Oh, latest version of rspec and rspec-rails installed as a plugin.
>
> On Tue, Jun 23, 2009 at 3:15 PM, Joe Van Dyk<joe at pinkpucker.net> wrote:
>> 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?'
This is using rspec's have_tag matcher. I'd strongly recommend
installing webrat and using it's have_selector matcher instead.
Cheers,
David
>> /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
>>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
More information about the rspec-users
mailing list