```ruby
require 'acceptance/test_helper'

describe "Uploading cookbooks to the server" do

  after do
    Dir["#{Pantry.config.data_dir}/*"].each do |file|
      puts "Killing file #{file}"
    end
  end

  it "finds the current cookbook and uploads it" do
    set_up_environment(pub_sub_port: 11000, receive_port: 11001)
    filter = Pantry::Communication::ClientFilter.new

    cli = Pantry::CLI.new(identity: "cli1")
    cli.run

    cli.request(filter, "chef:upload:cookbook", File.expand_path("../../../fixtures/cookbooks/mini", __FILE__))

    assert File.exists?(File.join(Pantry.config.data_dir, "mini", "1.0.0.tgz")),
      "The simple cookbook was not uploaded to the server properly"
  end

  it "allows forcing a cookbook version up if the version already exists on the server"

  it "reports any upload errors"

end
```

Disable chef cookbook upload acceptance test for now
user
```ruby
require 'acceptance/test_helper'

describe "Uploading cookbooks to the server" do

#  after do
#    Dir["#{Pantry.config.data_dir}/*"].each do |file|
#      puts "Killing file #{file}"
#    end
#  end
#
#  it "finds the current cookbook and uploads it" do
#    set_up_environment(pub_sub_port: 11000, receive_port: 11001)
#    filter = Pantry::Communication::ClientFilter.new
#
#    cli = Pantry::CLI.new(identity: "cli1")
#    cli.run
#
#    cli.request(filter, "chef:upload:cookbook", File.expand_path("../../../fixtures/cookbooks/mini", __FILE__))
#
#    assert File.exists?(File.join(Pantry.config.data_dir, "mini", "1.0.0.tgz")),
#      "The simple cookbook was not uploaded to the server properly"
#  end
#
#  it "allows forcing a cookbook version up if the version already exists on the server"
#
#  it "reports any upload errors"

end
```
assistant