Sha256: 33e5df0e07f2b4aee56afc5eb7b242f2e67a79c7e7c93d25ad475f1134aa3b67
Contents?: true
Size: 786 Bytes
Versions: 12
Compression:
Stored size: 786 Bytes
Contents
require 'spec_helper' module Queuel module IronMq describe Engine do it_should_behave_like "an engine" describe "loading typhoeus" do describe "with typhoeus" do before do subject.stub :require do raise LoadError end end its(:try_typhoeus) { should == false } end describe "without typhoeus" do its(:try_typhoeus) { should == true } end end describe "getting iron client" do its(:client_klass) { should == ::IronMQ::Client } describe "undefined" do before do subject.stub defined?: false end its(:client_klass) { should == ::IronMQ::Client } end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems