diff --git a/lib/capybara/rspec/matchers/match_style.rb b/lib/capybara/rspec/matchers/match_style.rb index 4b60cf9d4..f96c66d45 100644 --- a/lib/capybara/rspec/matchers/match_style.rb +++ b/lib/capybara/rspec/matchers/match_style.rb @@ -8,7 +8,7 @@ module Matchers class MatchStyle < WrappedElementMatcher def initialize(styles = nil, **kw_args, &filter_block) styles, kw_args = kw_args, {} if styles.nil? - super(styles, **kw_args, &filter_block) + super end def element_matches?(el)