File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
spec/test/components/dynamic/form Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1380,8 +1380,8 @@ def form_config
13801380 expect ( DummyChildModel . find ( id_of_child_0 ) . files [ 0 ] . blob . filename ) . to eq ( "matestack-logo.png" )
13811381 expect ( DummyChildModel . find ( id_of_child_0 ) . files [ 1 ] . blob . filename ) . to eq ( "corgi.mp4" )
13821382
1383- expect ( DummyChildModel . find ( id_of_child_1 ) . file . nil? || DummyChildModel . find ( id_of_child_1 ) . file &. blob &. nil? ) . to be true
1384- expect ( DummyChildModel . find ( id_of_child_1 ) . files . empty ?) . to be true
1383+ expect ( DummyChildModel . find ( id_of_child_1 ) . file . attached? ) . to be false
1384+ expect ( DummyChildModel . find ( id_of_child_1 ) . files . attached ?) . to be false
13851385
13861386 expect ( DummyChildModel . find ( id_of_child_2 ) . file . blob . filename ) . to eq ( "corgi.mp4" )
13871387 expect ( DummyChildModel . find ( id_of_child_2 ) . files [ 0 ] . blob . filename ) . to eq ( "matestack-logo.png" )
You can’t perform that action at this time.
0 commit comments