spec/integration/file_upload_spec.rb in rmega-0.1.3 vs spec/integration/file_upload_spec.rb in rmega-0.1.4
- old
+ new
@@ -59,9 +59,10 @@
end
end
let!(:folder) { @storage.root.create_folder(@name) }
+ # TODO: `let` and `subject` declarations are not intended to be called in a `before(:all)`
before(:all) { folder.upload(@path) }
it 'finds the uploaded file and verify its content' do
file = folder.files.find { |f| f.name == @name }
download_path = "#{@path}.downloaded"