Move RSpec type check to filter metadata hash
Move RSpec type check to filter metadata hash

Remove extraneous local var

HealthTeacher/capybara-screenshot,BentPixels/capybara-screenshot,chendrix/capybara-screenshot,mattheworiordan/capybara-screenshot,Patru/capybara-screenshot,xuwupeng2000/capybara-screenshot