beaker 1.12.1 → 1.12.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -15
- data/beaker.gemspec +2 -1
- data/lib/beaker.rb +7 -0
- data/lib/beaker/answers.rb +2 -6
- data/lib/beaker/dsl.rb +2 -6
- data/lib/beaker/dsl/helpers.rb +43 -3
- data/lib/beaker/dsl/install_utils.rb +0 -34
- data/lib/beaker/dsl/roles.rb +2 -14
- data/lib/beaker/dsl/wrappers.rb +0 -12
- data/lib/beaker/host.rb +5 -9
- data/lib/beaker/host/aix.rb +6 -5
- data/lib/beaker/host/unix.rb +6 -9
- data/lib/beaker/host/windows.rb +6 -9
- data/lib/beaker/host_prebuilt_steps.rb +27 -6
- data/lib/beaker/hypervisor.rb +15 -14
- data/lib/beaker/hypervisor/google_compute.rb +1 -0
- data/lib/beaker/hypervisor/vsphere_helper.rb +1 -5
- data/lib/beaker/network_manager.rb +12 -6
- data/lib/beaker/options/command_line_parser.rb +3 -0
- data/lib/beaker/options/parser.rb +42 -0
- data/lib/beaker/options/presets.rb +3 -1
- data/lib/beaker/shared.rb +2 -6
- data/lib/beaker/test_case.rb +2 -6
- data/lib/beaker/test_suite.rb +2 -6
- data/lib/beaker/version.rb +1 -1
- data/spec/beaker/dsl/helpers_spec.rb +28 -1
- data/spec/beaker/dsl/install_utils_spec.rb +6 -28
- data/spec/beaker/dsl/roles_spec.rb +10 -25
- data/spec/beaker/dsl/wrappers_spec.rb +0 -8
- data/spec/beaker/host_prebuilt_steps_spec.rb +26 -0
- data/spec/beaker/options/command_line_parser_spec.rb +2 -2
- data/spec/beaker/options/parser_spec.rb +35 -1
- metadata +154 -259
- data/spec/beaker/hypervisor/google_compute.rb +0 -23
@@ -1,23 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
module Beaker
|
4
|
-
describe GoogleCompute do
|
5
|
-
let( :gc ) { Beaker::GoogleCompute.new( @hosts, make_opts ) }
|
6
|
-
|
7
|
-
before :each do
|
8
|
-
@hosts = make_hosts()
|
9
|
-
apiclient = double()
|
10
|
-
|
11
|
-
end
|
12
|
-
|
13
|
-
it "can provision hosts" do
|
14
|
-
gc.provision
|
15
|
-
|
16
|
-
end
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
end
|
22
|
-
|
23
|
-
end
|