Skip to content

Commit

Permalink
Remove body param from MiqAeService as it's not used
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryguy committed Mar 10, 2017
1 parent 150dc58 commit ff31d8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def self.destroy(obj)
@@current.delete(obj)
end

def initialize(ws, inputs = {}, _body = nil, logger = $miq_ae_logger)
def initialize(ws, inputs = {}, logger = $miq_ae_logger)
@drb_server_references = []
@inputs = inputs
@workspace = ws
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def verify_next_message(message)
alias_method :info, :verify_next_message
end.new

svc = MiqAeMethodService::MiqAeService.new(workspace, [], nil, logger_stub)
svc = MiqAeMethodService::MiqAeService.new(workspace, [], logger_stub)
expect(MiqAeMethodService::MiqAeService).to receive(:new).with(workspace, []).and_return(svc)

expect($miq_ae_logger).to receive(:info).with("<AEMethod [/my/automate/method]> Starting ").ordered
Expand Down

0 comments on commit ff31d8a

Please sign in to comment.