Sha256: 4824d69cbd765299e72a692b2b87dad82b6b3f5dfcd5701e0bd362ae1da509ec

Contents?: true

Size: 372 Bytes

Versions: 36

Compression:

Stored size: 372 Bytes

Contents

require File.dirname(__FILE__) + '/../../../spec_helper'

describe 'Fog::AWS::S3::Owner' do

  describe "#initialize" do

    it "should remap attributes from parser" do
      owner = Fog::AWS::S3::Owner.new(
        'DisplayName' => 'name',
        'ID'          => 'id'
      )
      owner.display_name.should == 'name'
      owner.id.should == 'id'
    end

  end

end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
fog-0.0.38 spec/aws/models/s3/owner_spec.rb
fog-0.0.37 spec/aws/models/s3/owner_spec.rb
fog-0.0.36 spec/aws/models/s3/owner_spec.rb
fog-0.0.35 spec/aws/models/s3/owner_spec.rb
fog-0.0.34 spec/aws/models/s3/owner_spec.rb
fog-0.0.33 spec/aws/models/s3/owner_spec.rb
fog-0.0.32 spec/aws/models/s3/owner_spec.rb
fog-0.0.31 spec/aws/models/s3/owner_spec.rb
fog-0.0.30 spec/aws/models/s3/owner_spec.rb
fog-0.0.29 spec/aws/models/s3/owner_spec.rb
fog-0.0.28 spec/aws/models/s3/owner_spec.rb
fog-0.0.27 spec/aws/models/s3/owner_spec.rb
fog-0.0.26 spec/aws/models/s3/owner_spec.rb
fog-0.0.25 spec/aws/models/s3/owner_spec.rb
fog-0.0.24 spec/aws/models/s3/owner_spec.rb
fog-0.0.23 spec/aws/models/s3/owner_spec.rb
fog-0.0.22 spec/aws/models/s3/owner_spec.rb
fog-0.0.21 spec/aws/models/s3/owner_spec.rb
fog-0.0.20 spec/aws/models/s3/owner_spec.rb
fog-0.0.19 spec/aws/models/s3/owner_spec.rb