Skip to content

Commit de370e0

Browse files
committed
rspec updated
1 parent 1e6098c commit de370e0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

spec/controllers/miq_ae_class_controller_spec.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
id = "aec-#{cls.id}"
2525
fq_name = cls.fqname
2626
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)
2829

2930
id = "root"
3031
fq_name = ""
@@ -291,7 +292,8 @@
291292
:active_tree => :ae_tree,
292293
:trees => {:ae_tree => {:active_node => node}})
293294
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)
295297
end
296298
end
297299

0 commit comments

Comments
 (0)