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
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?'' > ? ? ?/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 >
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