
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
-
David Chelimsky September 24th, 2009 @ 12:10 AM
- Assigned user set to Bryan Helmkamp
-
Bryan Helmkamp November 15th, 2009 @ 04:45 PM
- State changed from new to resolved
Thanks, David. Applied to master.
Cheers,
-Bryan
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.
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.