spec/command_specs/base_spec.rb in amp-front-0.1.0 vs spec/command_specs/base_spec.rb in amp-front-0.2.0

- old
+ new

@@ -43,16 +43,9 @@ flag = false @klass.on_call { flag = true } @klass.new.call(nil, nil) flag.should be_true end - - it 'returns the current handler if no block is given' do - @klass.on_call.should == nil - @klass.on_call { puts 'hello' } - @klass.on_call.should_not == nil - @klass.on_call.should respond_to(:call) - end end describe '#opt' do it 'adds an option to the command class' do @klass.options.should == [] \ No newline at end of file