Sha256: 24274d653f1801a07246a20220afea986c349634310e2c584ebdc6700dcdebaf
Contents?: true
Size: 467 Bytes
Versions: 4
Compression:
Stored size: 467 Bytes
Contents
require 'spec_helper' describe Yun::FogAttributes do it 'should convert attributes to fog attributes hash' do attribute = { :image => 'test_image_id' } fog_attr = Yun::FogAttributes.new attribute fog_attr[:image_id].should == 'test_image_id' end it 'should save name attribute into tags' do attribute = { "name" => 'test name' } fog_attr = Yun::FogAttributes.new attribute fog_attr[:tags]["name"].should == 'test name' end end
Version data entries
4 entries across 4 versions & 1 rubygems