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.2.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-4.1.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-4.0.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-3.37.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-3.36.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-3.35.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-3.34.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-3.33.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-3.32.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-3.31.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-3.30.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-3.29.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-3.28.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-3.27.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-3.26.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-3.25.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-3.24.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-3.23.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-3.22.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-3.21.1 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb