lib/beaker-rspec/helpers/serverspec.rb in beaker-rspec-2.0.1 vs lib/beaker-rspec/helpers/serverspec.rb in beaker-rspec-2.1.0
- old
+ new
@@ -24,10 +24,10 @@
if @example
@example.metadata[:command] = cmd
@example.metadata[:stdout] = ret[:stdout]
end
- ret
+ CommandResult.new ret
end
private
# Execute the provided ssh command
# @param [String] command The command to be executed