Skip to content

Commit d334e2e

Browse files
author
Richard Pearce
committed
rpearce: Removing SFTP enc spec test, this has been moved to
sftpserver_spec instead
1 parent 3de5ebd commit d334e2e

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

spec/enc_spec.rb

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -602,34 +602,6 @@ def getaddress(url)
602602
)
603603
end
604604

605-
it 'can generate the correct enc data for sftp servers' do
606-
stack "fabric" do
607-
virtual_sftpserver 'sftp' do
608-
end
609-
end
610-
611-
env "rah", :primary_site => "st", :secondary_site => "bs" do
612-
instantiate_stack "fabric"
613-
end
614-
615-
find("rah-sftp-001.mgmt.st.net.local").should_not be_nil
616-
find("rah-sftp-002.mgmt.st.net.local").should_not be_nil
617-
618-
find("rah-sftp-001.mgmt.st.net.local").to_enc.should eql(
619-
'role::sftpserver' => {
620-
'vip_fqdn' => 'rah-sftp-vip.st.net.local',
621-
'env' => 'rah'
622-
}
623-
)
624-
625-
find("rah-sftp-002.mgmt.st.net.local").to_enc.should eql(
626-
'role::sftpserver' => {
627-
'vip_fqdn' => 'rah-sftp-vip.st.net.local',
628-
'env' => 'rah'
629-
}
630-
)
631-
end
632-
633605
it 'can be converted to an array of machine_defs (actual machines)' do
634606
stack "mystack" do
635607
loadbalancer

0 commit comments

Comments
 (0)