spec/support/have_attribute_matcher.rb in roadie-3.5.1 vs spec/support/have_attribute_matcher.rb in roadie-4.0.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
RSpec::Matchers.define :have_attribute do |attribute|
@selector = 'body > *:first'
chain :at_selector do |selector|
@selector = selector