#293 ✓resolved
David Chelimsky

require 'nokogiri' in webrat/integrations/rspec-rails

Reported by David Chelimsky | September 24th, 2009 @ 12:10 AM

If I require 'webrat/integration/rspec-rails' from 'spec_helper.rb' in order to use the webrat matchers from rspec, I get this error when I run specs:

uninitialized constant Nokogiri::HTML

If I require 'nokogiri' in 'spec_helper.rb' all is well.

Patch to require 'nokogiri' from 'webrat/integration/rspec-rails': http://github.com/dchelimsky/webrat/commit/9a92afedff2511148ae02ded...

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Ruby Acceptance Testing for Web applications.

Shared Ticket Bins

People watching this ticket

Pages