spec/tracker_spec.rb in fastdfs-client-1.3.0 vs spec/tracker_spec.rb in fastdfs-client-1.4.0
- old
+ new
@@ -41,10 +41,10 @@
Thread.new do
storage = tracker.get_storage
res = storage.upload(File.open(File.expand_path("../page.png", __FILE__)))
expect(res[:status]).to be_truthy
results = res[:result]
- results = storage.delete(results[:path], results[:group_name])
+ res = storage.delete(results[:path], results[:group_name])
expect(res[:status]).to be_truthy
end
end
items.map{|item| item.join }
\ No newline at end of file