spec/ethon/easy/informations_spec.rb in ethon-0.14.0 vs spec/ethon/easy/informations_spec.rb in ethon-0.15.0

- old
+ new

@@ -92,7 +92,29 @@ expect(Kernel).to receive(:warn) expect(easy.supports_zlib?).to be_truthy end end + describe "#size_upload" do + it "returns float" do + expect(easy.size_upload).to be_a(Float) + end + end + describe "#size_download" do + it "returns float" do + expect(easy.size_download).to be_a(Float) + end + end + + describe "#speed_upload" do + it "returns float" do + expect(easy.speed_upload).to be_a(Float) + end + end + + describe "#speed_download" do + it "returns float" do + expect(easy.speed_download).to be_a(Float) + end + end end