lib/minarai/actions/unknown.rb in minarai-0.0.2 vs lib/minarai/actions/unknown.rb in minarai-0.0.3
- old
+ new
@@ -1,16 +1,16 @@
require 'minarai/actions/base'
-require 'minarai/errors/invalid_action_type_error'
+require 'minarai/errors/unknown_action_type_error'
module Minarai
module Actions
class Unknown < Base
def run
# override
end
def error_messages
- [Minarai::Errors::InvalidActionTypeError.new(name)]
+ [Minarai::Errors::UnknownActionTypeError.new(type)]
end
private
def complete?