mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
18 lines
372 B
Ruby
18 lines
372 B
Ruby
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
|