spec/base_spec.rb in remnant-0.1.3 vs spec/base_spec.rb in remnant-0.2.0

- old
+ new

@@ -1,23 +1,22 @@ require 'spec_helper' -describe Flail do +describe Remnant do context "#configuration" do it "should return the same object for multiple calls" do - Flail.configuration.should == Flail.configuration + Remnant.configuration.should == Remnant.configuration end end context "#configure" do it "should fail without a block" do - lambda { Flail.configure }.should raise_error + lambda { Remnant.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) + mock(Remnant).configuration.stub!.instance_eval(&block) + Remnant.configure(&block) end end end -