Sha256: 9876be18b40f8f46a2ca0967a6e9ba92d01c8f6a4c25479c35795e283b1a4798

Contents?: true

Size: 426 Bytes

Versions: 13

Compression:

Stored size: 426 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("contents", output)
  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

13 entries across 13 versions & 1 rubygems

Version Path
beaker-6.4.1 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-6.4.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-6.3.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-6.2.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-6.1.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-5.8.1 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-5.8.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-5.7.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-5.6.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-5.5.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-5.4.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-5.3.1 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb
beaker-5.3.0 acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb