Sha256: 0208f29cbfa978010138e34f296ba30361a97dcac2d53720a33f57f8c93566d0

Contents?: true

Size: 354 Bytes

Versions: 3

Compression:

Stored size: 354 Bytes

Contents

require 'test_helper'

require File.join(File.dirname(__FILE__), '..', '..', 'lib/cliutils/prefs/pref_actions/open_url_action')

# Tests for the Configurator class
class TestOpenUrlAction < Test::Unit::TestCase
  def test_run
    a = CLIUtils::OpenUrlAction.new
    a.parameters = { url: 'http://www.google.com' }
    assert_output() { a.run }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cliutils-2.1.4 test/action_tests/open_url_action_test.rb
cliutils-2.1.3 test/action_tests/open_url_action_test.rb
cliutils-2.1.2 test/action_tests/open_url_action_test.rb