lib/rspec-system/node_set/base.rb in rspec-system-1.7.1 vs lib/rspec-system/node_set/base.rb in rspec-system-2.0.0

- old
+ new

@@ -46,11 +46,11 @@ # Run a command on a host in the NodeSet. # # @param opts [Hash] options hash containing :n (node) and :c (command) # @return [Hash] a hash containing :stderr, :stdout and :exit_code # @abstract Override this method providing your own shell running code - def run(options) + def run(opts) raise "Unimplemented method #run" end # Copy a file to the host in the NodeSet. # @@ -58,10 +58,10 @@ # @option opts [RSpecHelper::Node] :d destination node # @option opts [String] :sp source path # @option opts [String] :dp destination path # @return [Boolean] returns true if command succeeded, false otherwise # @abstract Override this method providing your own file transfer code - def rcp(options) + def rcp(opts) raise "Unimplemented method #rcp" end # @!group Common Methods