Sha256: 2d3db75cf480abb38422ba4eeac6068f5da30c1da56dd03e21af23ad69aa3d7d
Contents?: true
Size: 715 Bytes
Versions: 1
Compression:
Stored size: 715 Bytes
Contents
require 'spec_helper' describe "Cookbook API operations", type: "acceptance" do let(:server_url) { "https://api.opscode.com/organizations/ridley" } let(:client_name) { "reset" } let(:client_key) { "/Users/reset/.chef/reset.pem" } let(:connection) do Ridley.new( server_url: server_url, client_name: client_name, client_key: client_key ) end before(:all) { WebMock.allow_net_connect! } after(:all) { WebMock.disable_net_connect! } describe "finding a cookbook" 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::CookbookResource) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ridley-0.7.0.rc1 | spec/acceptance/cookbook_resource_spec.rb |