How to start new chef project in OSX

Initial Ruby preparation

rvm use 1.9.3@cloud --create
gem update --system

I use meez for initial cookbook infrastructure

Serverspecs asserts examples

it 'adds the Opscode package signing key' do
    opscode_key = shell_out("apt-key list")
    assert opscode_key.stdout.include?("Opscode Packages

it 'creates the correct pinning preferences for chef' do
    chef_policy = shell_out("apt-cache policy chef")
    assert chef_policy.stdout.include?("Package pin: 10.16.2-1")