mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
16 lines
373 B
Ruby
16 lines
373 B
Ruby
Shindo.tests('Storage[:local] | directory', ["local"]) do
|
|
|
|
pending if Fog.mocking?
|
|
|
|
before do
|
|
@options = { :local_root => '~/.fog' }
|
|
end
|
|
|
|
tests('save') do
|
|
returns(true) do
|
|
connection = Fog::Storage::Local.new(@options)
|
|
connection.directories.create(:key => 'directory')
|
|
connection.directories.create(:key => 'directory')
|
|
end
|
|
end
|
|
end
|