mattheworiordan / capybara-screenshot

Automatically save screen shots when a Capybara scenario fails
MIT License
1.02k stars 168 forks source link

warning: instance variable @pruned_previous_screenshots not initialized #237

Open dougo opened 6 years ago

dougo commented 6 years ago

I'm getting this warning during every test failure:

/Users/dougo/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/capybara-screenshot-1.0.21/lib/capybara-screenshot.rb:88: warning: instance variable @pruned_previous_screenshots not initialized

Let me know if you need more info.

mattheworiordan commented 5 years ago

@dougo looks like this has come about since a Ruby version upgrade right? I am pretty sure it's an easy fix fortunately.