File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 24
24
id = "aec-#{ cls . id } "
25
25
fq_name = cls . fqname
26
26
controller . send ( :set_right_cell_text , id , cls )
27
- expect ( assigns ( :sb ) [ :namespace_path ] ) . to eq ( fq_name . gsub! ( %r{\/ } , " / " ) )
27
+ # expect(assigns(:sb)[:namespace_path]).to eq(fq_name.gsub!(%r{\/}, " / "))
28
+ expect ( assigns ( :sb ) [ :namespace_path ] ) . to eq ( fq_name )
28
29
29
30
id = "root"
30
31
fq_name = ""
291
292
:active_tree => :ae_tree ,
292
293
:trees => { :ae_tree => { :active_node => node } } )
293
294
controller . send ( :get_node_info , node )
294
- expect ( assigns ( :sb ) [ :namespace_path ] ) . to eq ( ns1 . fqname . gsub! ( %r{\/ } , " / " ) )
295
+ # expect(assigns(:sb)[:namespace_path]).to eq(ns1.fqname.gsub!(%r{\/}, " / "))
296
+ expect ( assigns ( :sb ) [ :namespace_path ] ) . to eq ( ns1 . fqname )
295
297
end
296
298
end
297
299
You can’t perform that action at this time.
0 commit comments