Sha256: 5db0f7e5dcf9bbaf6c61ed9198ef6480e3a1f3995b532144c660e87a8fd6cb0b
Contents?: true
Size: 620 Bytes
Versions: 2
Compression:
Stored size: 620 Bytes
Contents
require 'spec_helper' require_relative '../spec/factories/node.rb' describe 'Test 03: Manage nodes with the wizard' do subject { Bebox::NodeWizard.new } let(:project_root) { "#{Dir.pwd}/tmp/bebox-pname" } let(:environment) { "vagrant" } let(:node_hostname) { "node_0.server1.test" } let(:node_ip) { YAML.load_file('spec/support/config_specs.yaml')['test_ip'] } it 'should check node existence' do output = subject.node_exists?(project_root, environment, node_hostname) expect(output).to eq(false) end it 'the ip should be free' do expect(subject.free_ip?(node_ip)).to eq(true) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bebox-0.1.0 | spec/node_wizard_spec.rb |
bebox-0.0.1 | spec/node_wizard_spec.rb |