Skip to content

Commit c2c6579

Browse files
committed
problem in test spec
1 parent 3fe0a8e commit c2c6579

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/hyper-model/spec/batch2/relationships_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def update_relationship
305305
end
306306
render do
307307
DIV do
308-
TestComponent4.child_model.test_model&.test_attribute
308+
TestComponent4.child_model.test_model.try(:test_attribute)
309309
end
310310
end
311311
end

0 commit comments

Comments
 (0)