test/test_command.rb in rubikon-0.4.0 vs test/test_command.rb in rubikon-0.4.1
- old
+ new
@@ -9,12 +9,12 @@
include TestParameter
context 'A Rubikon command' do
- should 'be a Parameter' do
+ should 'be a Parameter with arguments' do
assert Command.included_modules.include?(Parameter)
- assert Command.new(@app, :command){}.is_a?(Parameter)
+ assert Command.included_modules.include?(HasArguments)
end
should 'raise an exception when no appliation is given' do
assert_raise ArgumentError do
Command.new nil, :command