spec/spec_helper.rb in input_css-0.1.2 vs spec/spec_helper.rb in input_css-0.2.0
- old
+ new
@@ -66,5 +66,11 @@
# a real object. This is generally recommended.
mocks.verify_partial_doubles = true
end
end
+def autocomplete
+ if Gem.loaded_specs["rails"].version.to_s >= "6.1"
+ 'autocomplete="off"'
+ end
+end
+