Skip to content

Commit a812a7c

Browse files
committed
! Fix spec for ruby 3.4
1 parent d7d406f commit a812a7c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/contracted_value/value_spec.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
value_class.class_eval do
5454
attribute(1)
5555
end
56-
}.to raise_error(::NoMethodError, /undefined method `to_sym'/)
56+
}.to raise_error(::NoMethodError, /undefined method `to_sym'|undefined method 'to_sym'/)
57+
# ruby 3.4+ uses different quotes
5758
end
5859
end
5960

0 commit comments

Comments
 (0)