Sha256: 52f809a959e3b3f93bcbff35670f9aae679daf58a108d436fd2bb8b022dad2f9

Contents?: true

Size: 648 Bytes

Versions: 17

Compression:

Stored size: 648 Bytes

Contents

require 'spec_helper'

describe AssetCloud::Bucket do
  before do
    @bucket = AssetCloud::Bucket.new(nil, nil)
  end

  describe "operations not supported" do
    it "#ls not supported" do
      expect { @bucket.ls('foo')}.to raise_error NotImplementedError
    end

    it "#read(key) not supported" do
      expect { @bucket.read('foo')}.to raise_error NotImplementedError
    end

    it "#write(key, data) not supported" do
      expect { @bucket.write('foo', 'bar')}.to raise_error NotImplementedError
    end

    it "#delete(key) not supported" do
      expect { @bucket.delete('foo')}.to raise_error NotImplementedError
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
asset_cloud-2.5.3 spec/bucket_spec.rb
asset_cloud-2.5.2 spec/bucket_spec.rb
asset_cloud-2.5.1 spec/bucket_spec.rb
asset_cloud-2.5.0 spec/bucket_spec.rb
asset_cloud-2.4.0 spec/bucket_spec.rb
asset_cloud-2.3.1 spec/bucket_spec.rb
asset_cloud-2.3.0 spec/bucket_spec.rb
asset_cloud-2.2.9 spec/bucket_spec.rb
asset_cloud-2.2.8 spec/bucket_spec.rb
asset_cloud-2.2.7 spec/bucket_spec.rb
asset_cloud-2.2.6 spec/bucket_spec.rb
asset_cloud-2.2.5 spec/bucket_spec.rb
asset_cloud-2.2.4 spec/bucket_spec.rb
asset_cloud-2.2.2 spec/bucket_spec.rb
asset_cloud-2.2.1 spec/bucket_spec.rb
asset_cloud-2.2.0 spec/bucket_spec.rb
asset_cloud-2.1.0 spec/bucket_spec.rb