Sha256: 3d9f1a19cdfa995d0229fa995307505db3ba59ffe4b84c30f89db2ee9fa88f75
Contents?: true
Size: 358 Bytes
Versions: 11
Compression:
Stored size: 358 Bytes
Contents
require_relative "../../test_helper" describe AgileUtils::Helper do context "#shell" do it "returns result for valid command" do result = AgileUtils::Helper.shell(%w[ls]) result.wont_be_nil end it "raises error on invalid command" do assert_raises(RuntimeError) { AgileUtils::Helper.shell(%w[bad-command]) } end end end
Version data entries
11 entries across 11 versions & 1 rubygems