Sha256: c1b8c98cbb2a88a1e03b80a89f61b162a699824537e647c82450456d38d9ecee
Contents?: true
Size: 549 Bytes
Versions: 22
Compression:
Stored size: 549 Bytes
Contents
require 'spec_helper' describe Flail do context "#configuration" do it "should return the same object for multiple calls" do Flail.configuration.should == Flail.configuration end end context "#configure" do it "should fail without a block" do lambda { Flail.configure }.should raise_error end it "should instance_eval the block onto configuration" do block = Proc.new { handle {|payload| } } mock(Flail).configuration.stub!.instance_eval(&block) Flail.configure(&block) end end end
Version data entries
22 entries across 22 versions & 2 rubygems