spec/sucker/config_spec.rb in sucker-2.0.0.pre.5 vs spec/sucker/config_spec.rb in sucker-2.0.0

- old
+ new

@@ -1,6 +1,12 @@ require 'spec_helper' module Sucker - describe Config - # nothing to spec here. + describe Config do + describe "#configure" do + it "yields itself" do + subject.should_receive(:configure).and_yield(Config) + subject.configure { |c| } + end + end + end end