Sha256: 4850f06d3c1a207b1446f8d8b6d90417e73bc18de739588cf13baa2a874dc00e
Contents?: true
Size: 565 Bytes
Versions: 3
Compression:
Stored size: 565 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe Typhoeus::Hydra do let(:base_url) { "localhost:3001" } let(:options) { {} } let(:hydra) { Typhoeus::Hydra.new(options) } describe "#new" do let(:options) { {:pipeling => true} } it "passes options to multi" do Ethon::Multi.should_receive(:new).with(options) hydra end end describe "#hydra" do it "returns a hydra" do expect(Typhoeus::Hydra.hydra).to be_a(Typhoeus::Hydra) end end describe "#fire_and_forget" do it end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
typhoeus-0.6.6 | spec/typhoeus/hydra_spec.rb |
typhoeus-0.6.5 | spec/typhoeus/hydra_spec.rb |
typhoeus-0.6.4 | spec/typhoeus/hydra_spec.rb |