Skip to content

Commit

Permalink
adapt test data
Browse files Browse the repository at this point in the history
  • Loading branch information
gabi2 committed Feb 16, 2016
1 parent 807b75a commit 27ff66e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/getiBFT_spec.rb
Expand Up @@ -13,13 +13,15 @@
it "returns data in form of a map " do
@iscsilib.stub(:getFirmwareInfo).
and_return("# BEGIN RECORD 2.0-872\n"\
"# END RECORD\n"\
"iface.bootproto = STATIC\n"\
"iface.transport_name = tcp\n"\
"iface.hwaddress = 00:00:c9:b1:bc:7f\n"\
"iface.initiatorname = iqn.2011-05.com.emulex:eraptorrfshoneport1\n"\
"iface.ipaddress = 2620:0113:80c0:8000:000c:0000:0000:04dc\n"\
"node.conn[0].address = 172.0.21.6\n"\
"node.conn[0].port = 3260\n"\
"node.name = iqn.1986-03.com.ibm:sn.135061874\n"
"node.name = iqn.1986-03.com.ibm:sn.135061874\n"\
"# END RECORD\n"
)

ibft_data = @iscsilib.getiBFT()
Expand All @@ -30,6 +32,8 @@
"iface.bootproto" => "STATIC",
"iface.hwaddress" => "00:00:c9:b1:bc:7f",
"iface.initiatorname" => "iqn.2011-05.com.emulex:eraptorrfshoneport1",
"iface.transport_name" => "tcp",
"iface.ipaddress" => "2620:0113:80c0:8000:000c:0000:0000:04dc",
"node.conn[0].address" => "172.0.21.6",
"node.conn[0].port" => "3260",
"node.name" => "iqn.1986-03.com.ibm:sn.135061874"})
Expand Down

0 comments on commit 27ff66e

Please sign in to comment.