spec/handler_spec.rb in vtools-0.0.3 vs spec/handler_spec.rb in vtools-0.1.0
- old
+ new
@@ -23,10 +23,10 @@
@handler.instance_variable_get(:@callbacks).should == {
:action_one => [ block ], :action_two => [ other_block ]
}
end
-
+
it "skips set when no block given" do
@handler.set :action_one
@handler.set :action_one
@handler.set :action_two