Sha256: b853994dff27a9e506060a0be612b80c642cd122f634ad96df33e09484237dc8

Contents?: true

Size: 761 Bytes

Versions: 10

Compression:

Stored size: 761 Bytes

Contents

require 'spec_helper'

describe "Bootstrapping a node", type: "acceptance" do
  let(:server_url) { "https://api.opscode.com" }
  let(:client_name) { "reset" }
  let(:client_key) { "/Users/reset/.chef/reset.pem" }
  let(:organization) { "vialstudios" }

  let(:connection) do
    Ridley.new(
      server_url: server_url,
      client_name: client_name,
      client_key: client_key,
      organization: organization,
      validator_client: "vialstudios-validator",
      validator_path: "/Users/reset/.chef/vialstudios-validator.pem",
      ssh: {
        user: "vagrant",
        password: "vagrant"
      }
    )
  end

  it "returns an array of response objects" do
    pending

    connection.node.bootstrap("33.33.33.10").should_not have_errors
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ridley-1.0.0.rc1 spec/acceptance/bootstrapping_spec.rb
ridley-0.12.4 spec/acceptance/bootstrapping_spec.rb
ridley-0.12.3 spec/acceptance/bootstrapping_spec.rb
ridley-0.12.2 spec/acceptance/bootstrapping_spec.rb
ridley-0.12.1 spec/acceptance/bootstrapping_spec.rb
ridley-0.12.0 spec/acceptance/bootstrapping_spec.rb
ridley-0.11.2 spec/acceptance/bootstrapping_spec.rb
ridley-0.12.0.rc1 spec/acceptance/bootstrapping_spec.rb
ridley-0.11.1 spec/acceptance/bootstrapping_spec.rb
ridley-0.11.0.rc1 spec/acceptance/bootstrapping_spec.rb