spec/support/have_styling_matcher.rb in roadie-3.5.1 vs spec/support/have_styling_matcher.rb in roadie-4.0.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
RSpec::Matchers.define :have_styling do |rules|
normalized_rules = StylingExpectation.new(rules)
chain(:at_selector) { |selector| @selector = selector }
match { |document|