We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2f79a1 commit 3fe0a8eCopy full SHA for 3fe0a8e
ruby/hyper-model/spec/batch2/relationships_spec.rb
@@ -300,8 +300,14 @@ def update_relationship
300
end
301
302
303
- before_mount { TestComponent4.child_model = ChildModel.new(child_attribute: 'hello') }
304
- render { DIV { TestComponent4.child_model.test_model&.test_attribute } }
+ before_mount do
+ TestComponent4.child_model = ChildModel.new(child_attribute: 'hello')
305
+ end
306
+ render do
307
+ DIV do
308
+ TestComponent4.child_model.test_model&.test_attribute
309
310
311
312
313
evaluate_ruby do
0 commit comments