Sha256: e52f75c7f9dd3c394d884e05ceaf397355588cd19a76dc194a91512058faebc1
Contents?: true
Size: 984 Bytes
Versions: 23
Compression:
Stored size: 984 Bytes
Contents
require 'spec_helper' describe "Cookbook API operations", type: "acceptance" do let(:server_url) { "https://api.opscode.com" } let(:client_name) { "reset" } let(:client_key) { "/Users/reset/.chef/reset.pem" } let(:organization) { "ridley" } let(:connection) do Ridley.connection( server_url: server_url, client_name: client_name, client_key: client_key, organization: organization ) end before(:all) { WebMock.allow_net_connect! } after(:all) { WebMock.disable_net_connect! } describe "finding a cookbook" do pending end describe "creating a cookbook" do pending end describe "deleting a cookbook" do pending end describe "deleting all cookbooks" do pending end describe "listing all cookbooks" do it "should return an array of environment objects" do connection.cookbook.all.should each be_a(Ridley::Cookbook) end end describe "updating a cookbook" do pending end end
Version data entries
23 entries across 23 versions & 1 rubygems