Sha256: 689545c92b120ffff48b36f4b16cc52a4e3acb253ce8452e4d50288781270169

Contents?: true

Size: 423 Bytes

Versions: 133

Compression:

Stored size: 423 Bytes

Contents

require "helpers/test_helper"

test_name "dsl::helpers::host_helpers #echo_on" do
  step "#echo_on echoes the supplied string on the remote host" do
    output = echo_on(default, "contents")
    assert_equal output, "contents"
  end

  step "#echo_on echoes the supplied string on all hosts when given a hosts array" do
    results = echo_on(hosts, "contents")
    assert_equal ["contents"] * hosts.size, results
  end
end

Version data entries

133 entries across 133 versions & 1 rubygems

Version Path
beaker-4.42.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-4.41.2 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-4.41.1 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-4.41.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-4.40.2 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-4.40.1 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-5.2.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-4.40.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-5.1.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-5.0.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-4.39.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-4.38.1 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-4.38.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-4.37.2 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-4.37.1 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-4.37.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-4.36.1 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-4.36.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-4.35.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-4.34.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb