-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
local file support #60
Comments
I have the same issue. In principle it should work using the "file://" protocol with mechanize or creating a Mechanize page or file by hand and setting it via http://stackoverflow.com/questions/7586627/read-a-local-html-file-with-mechanize lists a FakeWeb workaround (another could be a dead simple proxy server), but I'd really like to see this working in wombat directly. |
I would really prefer to use the For prototyping I now use webmock like this:
|
Thanks @fwolfst! Your approach with webmock worked for me. |
Wombat can't parse local files:
/.gem/ruby/2.3.1/gems/wombat-2.5.1/lib/wombat/processing/parser.rb:33:in block (2 levels) in initialize': undefined method content_type' for #<Mechanize::FileResponse:0x007fe856a62d90> (NoMethodError)
The text was updated successfully, but these errors were encountered: